Struct ntex::ws::WsSink [−][src]
pub struct WsSink(_);
Implementations
Endcode and send message to the peer.
pub fn on_disconnect(&self) -> OnDisconnectⓘNotable traits for OnDisconnectimpl Future for OnDisconnect type Output = ();
pub fn on_disconnect(&self) -> OnDisconnectⓘNotable traits for OnDisconnectimpl Future for OnDisconnect type Output = ();
Notable traits for OnDisconnect
impl Future for OnDisconnect type Output = ();
Notify when connection get disconnected
Auto Trait Implementations
impl !RefUnwindSafe for WsSink
impl !UnwindSafe for WsSink
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more