pub enum WebSocketStatus {
Opened,
Closed,
Error,
}
Expand description
The status of a WebSocket connection. Used for status notifications.
Variants§
Opened
Fired when a WebSocket connection has opened.
Closed
Fired when a WebSocket connection has closed.
Error
Fired when a WebSocket connection has failed.
Trait Implementations§
Source§impl Clone for WebSocketStatus
impl Clone for WebSocketStatus
Source§fn clone(&self) -> WebSocketStatus
fn clone(&self) -> WebSocketStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebSocketStatus
impl Debug for WebSocketStatus
Source§impl PartialEq for WebSocketStatus
impl PartialEq for WebSocketStatus
impl StructuralPartialEq for WebSocketStatus
Auto Trait Implementations§
impl Freeze for WebSocketStatus
impl RefUnwindSafe for WebSocketStatus
impl Send for WebSocketStatus
impl Sync for WebSocketStatus
impl Unpin for WebSocketStatus
impl UnwindSafe for WebSocketStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
Source§fn into_opt_prop_value(self) -> Option<V>
fn into_opt_prop_value(self) -> Option<V>
Convert
self
to an optional value of a Properties
struct.Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.