pub fn len(&self) -> usize {
        match *self {
            Text(ref string) => string.len(),
            Binary(ref data) => data.len(),
        }
    }
/// Get the length of the Socket message.
Get the length of the Socket message.
Get the length of the Socket message .
pub fn len(&self) -> usize {
        match *self {
            Text(ref string) => string.len(),
            Binary(ref data) => data.len(),
        }
    }
pub fn len ( & self ) -> usize { match * self { Text ( ref string ) => string . len ( ) , Binary ( ref data ) => data . len ( ) , } }
Get the length of the Socket message.
Get the length of the Socket message .
&self
&self