#[repr(u8)]pub enum Msg {
Num(usize),
Bytes(Vec<u8>),
String(String),
Nudge,
}Expand description
Message between two processes
Variants§
Num(usize)
A number
Bytes(Vec<u8>)
Arbitrary byte data
String(String)
UTF-8 string
Nudge
Empty payload
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Msg
impl RefUnwindSafe for Msg
impl Send for Msg
impl Sync for Msg
impl Unpin for Msg
impl UnwindSafe for Msg
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