pub fn new(out: &'buf mut [u8]) -> Self {
        Self(InMemInner {
            rx_header: None,
            rx: &[],
            tx_header: None,
            tx: Cursor::new(out),
            finished: false,
        })
    }
/// Creates a new `InMemHost`, with the given output buffer for holding
/// messages to be "transmitted", acting as the final destination for
/// replies to this host.
Creates a new `InMemHost`, with the given output buffer for holding
messages to be "transmitted", acting as the final destination for
replies to this host.
Creates a new ` InMemHost ` with the given output buffer for holding messages to be " transmitted " acting as the final destination for replies to this host .
pub fn new(out: &'buf mut [u8]) -> Self {
        Self(InMemInner {
            rx_header: None,
            rx: &[],
            tx_header: None,
            tx: Cursor::new(out),
            finished: false,
        })
    }
pub fn new ( out : & ' buf mut [ u8 ] ) -> Self { Self ( InMemInner { rx_header : None , rx : & [ ] , tx_header : None , tx : Cursor :: new ( out ) , finished : false , } ) }
Creates a new `InMemHost`, with the given output buffer for holding
messages to be "transmitted", acting as the final destination for
replies to this host.
Creates a new ` InMemHost ` with the given output buffer for holding messages to be " transmitted " acting as the final destination for replies to this host .
out
&'buf mut [u8]
out
&'buf mut [u8]