Enum yew::services::websocket::WebSocketStatus
source · pub enum WebSocketStatus {
Opened,
Closed,
Error,
}
Expand description
A status of a websocket connection. Used for status notification.
Variants
Opened
Fired when a websocket connection was opened.
Closed
Fired when a websocket connection was closed.
Error
Fired when a websocket connection was failed.
Auto Trait Implementations
impl RefUnwindSafe for WebSocketStatus
impl Send for WebSocketStatus
impl Sync for WebSocketStatus
impl Unpin for WebSocketStatus
impl UnwindSafe for WebSocketStatus
Blanket Implementations
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