Enum vertigo::WebsocketMessage
source · pub enum WebsocketMessage {
Message(String),
Connection(WebsocketConnection),
Close,
}
Expand description
Websocket message type on which a websocket handler operates.
Variants
Message(String)
Connection(WebsocketConnection)
Close
Auto Trait Implementations
impl !RefUnwindSafe for WebsocketMessage
impl !Send for WebsocketMessage
impl !Sync for WebsocketMessage
impl Unpin for WebsocketMessage
impl !UnwindSafe for WebsocketMessage
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