pub fn set_tap(tap: &'static dyn Tap)
Registers tap to receive everything the drain writes to the transmitter, from the drain’s next read on. Bytes the drain wrote before are not replayed.
tap