pub enum StreamMsg {
Str(String),
Ping,
Pong,
}
Available on crate feature
server
only.Variants§
Auto Trait Implementations§
impl Freeze for StreamMsg
impl RefUnwindSafe for StreamMsg
impl Send for StreamMsg
impl Sync for StreamMsg
impl Unpin for StreamMsg
impl UnwindSafe for StreamMsg
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