[][src]Struct edit_common::simple_ws::SocketHandler

pub struct SocketHandler<S: SimpleSocket> { /* fields omitted */ }

Methods

impl<S: SimpleSocket> SocketHandler<S>
[src]

Trait Implementations

impl<S: SimpleSocket> Handler for SocketHandler<S>
[src]

A method for handling the low-level workings of the request portion of the WebSocket handshake. Read more

A method for handling the low-level workings of the response portion of the WebSocket handshake. Read more

A method for handling outgoing frames. Read more

A method for creating the initial handshake request for WebSocket clients. Read more

Auto Trait Implementations

impl<S> Send for SocketHandler<S> where
    S: Send,
    <S as SimpleSocket>::Args: Send

impl<S> Sync for SocketHandler<S> where
    S: Sync,
    <S as SimpleSocket>::Args: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<F> Handler for F where
    F: Fn(Message) -> Result<(), Error>, 

Called when a request to shutdown all connections has been received.

Called when the WebSocket handshake is successful and the connection is open for sending and receiving messages. Read more

Called any time this endpoint receives a close control frame. This may be because the other endpoint is initiating a closing handshake, or it may be the other endpoint confirming the handshake initiated by this endpoint. Read more

Called when an error occurs on the WebSocket.

A method for handling the low-level workings of the request portion of the WebSocket handshake. Read more

A method for handling the low-level workings of the response portion of the WebSocket handshake. Read more

Called when a timeout is triggered. Read more

Called when a timeout has been scheduled on the eventloop. Read more

A method for handling incoming frames. Read more

A method for handling outgoing frames. Read more

A method for creating the initial handshake request for WebSocket clients. Read more