pub fn text<S>(string: S) -> Message
    where
        S: Into<String>,
    {
        Message::Text(string.into())
    }
/// Create a new text WebSocket message from a stringable.
Create a new text WebSocket message from a stringable.
Create a new text WebSocket message from a stringable .
pub fn text<S>(string: S) -> Message
    where
        S: Into<String>,
    {
        Message::Text(string.into())
    }
pub fn text < S > ( string : S ) -> Message where S : Into < String > , { Message :: Text ( string . into ( ) ) }
Create a new text WebSocket message from a stringable.
Create a new text WebSocket message from a stringable .
string
S
string
S