pub enum NetworkUpdate {
None,
Update {
msg: String,
},
}
Expand description
This enum represent the different update we will receive from the network
Variants§
Auto Trait Implementations§
impl Freeze for NetworkUpdate
impl RefUnwindSafe for NetworkUpdate
impl Send for NetworkUpdate
impl Sync for NetworkUpdate
impl Unpin for NetworkUpdate
impl UnwindSafe for NetworkUpdate
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