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