pub enum RelayCommand {
Shutdown,
}
Expand description
Command definitions used by the caller to communicate with tasks spawned by the library.
Variants§
Shutdown
Close the socket and end the task.
Trait Implementations§
Source§impl Clone for RelayCommand
impl Clone for RelayCommand
Source§fn clone(&self) -> RelayCommand
fn clone(&self) -> RelayCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RelayCommand
impl Debug for RelayCommand
impl Copy for RelayCommand
Auto Trait Implementations§
impl Freeze for RelayCommand
impl RefUnwindSafe for RelayCommand
impl Send for RelayCommand
impl Sync for RelayCommand
impl Unpin for RelayCommand
impl UnwindSafe for RelayCommand
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