fn push(&self, m: Message) -> Option<Message> {
        let (c, v) = m.clone().into();
        let (tx, rx) = channel();
        self.transaction(&move |data| {
            tx.send(data.get_channel_mut(c).push(v.clone())).unwrap();
        });
        rx.recv().unwrap().map(|_| m)
    }
/// Send the data to the channel.
Send the data to the channel.
Send the data to the channel .
fn push(&self, m: Message) -> Option<Message> {
        let (c, v) = m.clone().into();
        let (tx, rx) = channel();
        self.transaction(&move |data| {
            tx.send(data.get_channel_mut(c).push(v.clone())).unwrap();
        });
        rx.recv().unwrap().map(|_| m)
    }
fn push ( & self , m : Message ) -> Option < Message > { let ( c , v ) = m . clone ( ) . into ( ) ; let ( tx , rx ) = channel ( ) ; self . transaction ( & move | data | { tx . send ( data . get_channel_mut ( c ) . push ( v . clone ( ) ) ) . unwrap ( ) ; } ) ; rx . recv ( ) . unwrap ( ) . map ( | _ | m ) }
Send the data to the channel.
Send the data to the channel .
&self
m
Message
&self
m
Message