pub enum ServerClientCommand {
Send {
data: Arc<[u8]>,
},
GetAddr,
Remove,
}
Expand description
A command sent from the server background task to a client background task.
Variants§
Auto Trait Implementations§
impl Freeze for ServerClientCommand
impl RefUnwindSafe for ServerClientCommand
impl Send for ServerClientCommand
impl Sync for ServerClientCommand
impl Unpin for ServerClientCommand
impl UnwindSafe for ServerClientCommand
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