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