/// Check `MsgChannel` contents without extracting.
Check `MsgChannel` contents without extracting.
Check ` MsgChannel ` contents without extracting .
fn peek(&self, c: MsgChannel) -> Option<Vec<u8>> {
        let (tx, rx) = channel();
        self.transaction(&move |data| {
            tx.send(data.get_channel(c).peek()).unwrap();
        });
        rx.recv().unwrap()
    }
fn peek ( & self , c : MsgChannel ) -> Option < Vec < u8 > > { let ( tx , rx ) = channel ( ) ; self . transaction ( & move | data | { tx . send ( data . get_channel ( c ) . peek ( ) ) . unwrap ( ) ; } ) ; rx . recv ( ) . unwrap ( ) }
Check `MsgChannel` contents without extracting.
Check ` MsgChannel ` contents without extracting .
&self
c
MsgChannel