Trait puffin::stream::Stream

source ·
pub trait Stream<Mt: Matcher, M: ProtocolMessage<Mt, O>, O: OpaqueProtocolMessage<Mt>, OF: OpaqueProtocolMessageFlight<Mt, O>> {
    fn add_to_inbound(&mut self, message_flight: &OF);
    fn take_message_from_outbound(&mut self) -> Result<Option<OF>, Error>;
}

Required Methods§

Takes a single TLS message from the outbound channel

Implementors§