Enum simpl_actor::ShouldStop
source · pub enum ShouldStop {
Yes,
No,
}Expand description
Enum indiciating if an actor should be stopped.
Variants§
Trait Implementations§
source§impl Clone for ShouldStop
impl Clone for ShouldStop
source§fn clone(&self) -> ShouldStop
fn clone(&self) -> ShouldStop
Returns a copy 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 ShouldStop
impl Debug for ShouldStop
source§impl PartialEq for ShouldStop
impl PartialEq for ShouldStop
source§fn eq(&self, other: &ShouldStop) -> bool
fn eq(&self, other: &ShouldStop) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ShouldStop
impl Eq for ShouldStop
impl StructuralPartialEq for ShouldStop
Auto Trait Implementations§
impl Freeze for ShouldStop
impl RefUnwindSafe for ShouldStop
impl Send for ShouldStop
impl Sync for ShouldStop
impl Unpin for ShouldStop
impl UnwindSafe for ShouldStop
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