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