Enum libp2p_websocket::framed::OutgoingData
source · [−]Expand description
Data sent over the websocket connection.
Variants
Binary(Vec<u8>)
Send some bytes.
Ping(Vec<u8>)
Send a PING message.
Pong(Vec<u8>)
Send an unsolicited PONG message. (Incoming PINGs are answered automatically.)
Trait Implementations
impl<T> Sink<OutgoingData> for Connection<T> where
T: AsyncRead + AsyncWrite + Send + Unpin + 'static,
impl<T> Sink<OutgoingData> for Connection<T> where
T: AsyncRead + AsyncWrite + Send + Unpin + 'static,
Auto Trait Implementations
impl RefUnwindSafe for OutgoingData
impl Send for OutgoingData
impl Sync for OutgoingData
impl Unpin for OutgoingData
impl UnwindSafe for OutgoingData
Blanket Implementations
Mutably borrows from an owned value. Read more