Trait bip_handshake::Channel
[−]
[src]
pub trait Channel<T: Send>: Send { fn send(&mut self, data: T); }
Trait for handshakers to send data back to the client.
Required Methods
fn send(&mut self, data: T)
Send data back to the client.
Consumers will expect this method to not block.
Implementors
impl<T: Send> Channel<T> for Sender<T>
impl<T: Send> Channel<T> for SyncSender<T>
impl<T: Send> Channel<T> for Sender<T>