pub fn write<T>(&self, message: T) -> bool
    where
        T: 'static + MessageData,
    {
        self.sender
            .send((self.id.clone(), Box::new(message)))
            .is_ok()
    }
/// Send a message
///
/// Returns `false` if the message could not successfully be sent
Send a message
Returns `false` if the message could not successfully be sent
Send a message Returns ` false ` if the message could not successfully be sent
pub fn write<T>(&self, message: T) -> bool
    where
        T: 'static + MessageData,
    {
        self.sender
            .send((self.id.clone(), Box::new(message)))
            .is_ok()
    }
pub fn write < T > ( & self , message : T ) -> bool where T : ' static + MessageData , { self . sender . send ( ( self . id . clone ( ) , Box :: new ( message ) ) ) . is_ok ( ) }
Send a message
Returns `false` if the message could not successfully be sent
Send a message Returns ` false ` if the message could not successfully be sent
&self
message
T
&self
message
T