pub enum NtMessage {
Text(TextMessage),
Binary(BinaryMessage),
}
Expand description
Any type of message that could be sent or recieved from a websocket
Variants§
Text(TextMessage)
Binary(BinaryMessage)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NtMessage
impl RefUnwindSafe for NtMessage
impl Send for NtMessage
impl Sync for NtMessage
impl Unpin for NtMessage
impl UnwindSafe for NtMessage
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