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