pub fn is_binary(&self) -> bool {
        match *self {
            Text(_) => false,
            Binary(_) => true,
        }
    }
/// Indicates whether a message is a binary message.
Indicates whether a message is a binary message.
Indicates whether a message is a binary message .
pub fn is_binary(&self) -> bool {
        match *self {
            Text(_) => false,
            Binary(_) => true,
        }
    }
pub fn is_binary ( & self ) -> bool { match * self { Text ( _ ) => false , Binary ( _ ) => true , } }
Indicates whether a message is a binary message.
Indicates whether a message is a binary message .
&self
&self