pub enum PanicAction {
Pause,
Shutdown,
ExitFailure,
None,
}Variants§
Trait Implementations§
Source§impl Clone for PanicAction
impl Clone for PanicAction
Source§fn clone(&self) -> PanicAction
fn clone(&self) -> PanicAction
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 PanicAction
impl Debug for PanicAction
Source§impl Default for PanicAction
impl Default for PanicAction
Source§fn default() -> PanicAction
fn default() -> PanicAction
Returns the “default value” for a type. Read more
Source§impl Hash for PanicAction
impl Hash for PanicAction
Source§impl Ord for PanicAction
impl Ord for PanicAction
Source§fn cmp(&self, other: &PanicAction) -> Ordering
fn cmp(&self, other: &PanicAction) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PanicAction
impl PartialEq for PanicAction
Source§impl PartialOrd for PanicAction
impl PartialOrd for PanicAction
impl Eq for PanicAction
impl StructuralPartialEq for PanicAction
Auto Trait Implementations§
impl Freeze for PanicAction
impl RefUnwindSafe for PanicAction
impl Send for PanicAction
impl Sync for PanicAction
impl Unpin for PanicAction
impl UnwindSafe for PanicAction
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