pub enum RestartableError<E> {
Fatal(E),
RestartCrashForced,
}Variants§
Trait Implementations§
Source§impl<E: Clone> Clone for RestartableError<E>
impl<E: Clone> Clone for RestartableError<E>
Source§fn clone(&self) -> RestartableError<E>
fn clone(&self) -> RestartableError<E>
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<E: Debug> Debug for RestartableError<E>
impl<E: Debug> Debug for RestartableError<E>
Source§impl<E: PartialEq> PartialEq for RestartableError<E>
impl<E: PartialEq> PartialEq for RestartableError<E>
impl<E> StructuralPartialEq for RestartableError<E>
Auto Trait Implementations§
impl<E> Freeze for RestartableError<E>where
E: Freeze,
impl<E> RefUnwindSafe for RestartableError<E>where
E: RefUnwindSafe,
impl<E> Send for RestartableError<E>where
E: Send,
impl<E> Sync for RestartableError<E>where
E: Sync,
impl<E> Unpin for RestartableError<E>where
E: Unpin,
impl<E> UnwindSafe for RestartableError<E>where
E: UnwindSafe,
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