pub fn binary<B>(bin: B) -> Message
    where
        B: Into<Vec<u8>>,
    {
        Message::Binary(bin.into())
    }
/// Create a new binary WebSocket message by converting to Vec<u8>.
Create a new binary WebSocket message by converting to Vec.
Create a new binary WebSocket message by converting to Vec .
pub fn binary<B>(bin: B) -> Message
    where
        B: Into<Vec<u8>>,
    {
        Message::Binary(bin.into())
    }
pub fn binary < B > ( bin : B ) -> Message where B : Into < Vec < u8 > > , { Message :: Binary ( bin . into ( ) ) }
Create a new binary WebSocket message by converting to Vec<u8>.
Create a new binary WebSocket message by converting to Vec<u8 > .
bin
B
bin
B