pub trait Stream<PB: ProtocolBehavior> {
// Required methods
fn add_to_inbound(&mut self, message: &ConcreteMessage);
fn take_message_from_outbound(
&mut self,
output_flight: &mut Option<PB::OpaqueProtocolMessageFlight>,
) -> Result<(), Error>;
}Required Methods§
fn add_to_inbound(&mut self, message: &ConcreteMessage)
Sourcefn take_message_from_outbound(
&mut self,
output_flight: &mut Option<PB::OpaqueProtocolMessageFlight>,
) -> Result<(), Error>
fn take_message_from_outbound( &mut self, output_flight: &mut Option<PB::OpaqueProtocolMessageFlight>, ) -> Result<(), Error>
Takes a single TLS message from the outbound channel