Variants
Open
Connection is opened
Closed
Connection is closed
Shutdown
Dispatched when user invokes WebSocket::disconnect()
RpcCtl(u32)
Ctl reserved for RPC channels
Custom(u32)
For use by external clients that need to send themselves a custom shutdown signal
Trait Implementations
impl Eq for Ctl
impl StructuralEq for Ctl
impl StructuralPartialEq for Ctl
Auto Trait Implementations
impl RefUnwindSafe for Ctl
impl Send for Ctl
impl Sync for Ctl
impl Unpin for Ctl
impl UnwindSafe for Ctl
Blanket Implementations
impl<T> Any for Twhere
T: Any,
impl<T> Any for Twhere
T: Any,
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more