fn receive(&self, c: MsgChannel) -> Option<Vec<u8>> {
        let (tx, rx) = channel();
        self.transaction(&move |data| {
            tx.send(data.get_channel_mut(c).pop()).unwrap();
        });
        rx.recv().unwrap()
    }
/// Extract data from the specified `MsgChannel`.
Extract data from the specified `MsgChannel`.
Extract data from the specified ` MsgChannel ` .
fn receive(&self, c: MsgChannel) -> Option<Vec<u8>> {
        let (tx, rx) = channel();
        self.transaction(&move |data| {
            tx.send(data.get_channel_mut(c).pop()).unwrap();
        });
        rx.recv().unwrap()
    }
fn receive ( & self , c : MsgChannel ) -> Option < Vec < u8 > > { let ( tx , rx ) = channel ( ) ; self . transaction ( & move | data | { tx . send ( data . get_channel_mut ( c ) . pop ( ) ) . unwrap ( ) ; } ) ; rx . recv ( ) . unwrap ( ) }
Extract data from the specified `MsgChannel`.
Extract data from the specified ` MsgChannel ` .
&self
c
MsgChannel
&self
c
MsgChannel