pub struct SimpleTerminate<PPEL: ParsedPanicErrorLogger> { /* private fields */ }
Expand description
A simple terminate that does no logging of errors.
Implementations§
Source§impl<PPEL: ParsedPanicErrorLogger> SimpleTerminate<PPEL>
impl<PPEL: ParsedPanicErrorLogger> SimpleTerminate<PPEL>
Trait Implementations§
Source§impl<PPEL: Debug + ParsedPanicErrorLogger> Debug for SimpleTerminate<PPEL>
impl<PPEL: Debug + ParsedPanicErrorLogger> Debug for SimpleTerminate<PPEL>
Source§impl<PPEL: ParsedPanicErrorLogger> Terminate for SimpleTerminate<PPEL>
impl<PPEL: ParsedPanicErrorLogger> Terminate for SimpleTerminate<PPEL>
Source§fn begin_termination(&self)
fn begin_termination(&self)
Begin termination.
Source§fn begin_termination_due_to_irrecoverable_error(
&self,
panic_payload: &(dyn Any + Send),
location: Option<&Location<'_>>,
)
fn begin_termination_due_to_irrecoverable_error( &self, panic_payload: &(dyn Any + Send), location: Option<&Location<'_>>, )
Begin termination (due to an irrecoverable error). Read more
Source§fn should_finish(&self) -> bool
fn should_finish(&self) -> bool
Should finish.
Source§fn terminated_due_to_panic_or_irrecoverable_error(&self) -> bool
fn terminated_due_to_panic_or_irrecoverable_error(&self) -> bool
Check after termination.
Source§fn begin_termination_due_to_panic(&self, panic_info: &PanicInfo<'_>)
fn begin_termination_due_to_panic(&self, panic_info: &PanicInfo<'_>)
Begin termination (due to a panic). Read more
Source§fn should_continue(&self) -> bool
fn should_continue(&self) -> bool
Should continue (opposite of
should_finish()
).Auto Trait Implementations§
impl<PPEL> !Freeze for SimpleTerminate<PPEL>
impl<PPEL> RefUnwindSafe for SimpleTerminate<PPEL>where
PPEL: RefUnwindSafe,
impl<PPEL> Send for SimpleTerminate<PPEL>
impl<PPEL> Sync for SimpleTerminate<PPEL>
impl<PPEL> Unpin for SimpleTerminate<PPEL>where
PPEL: Unpin,
impl<PPEL> UnwindSafe for SimpleTerminate<PPEL>where
PPEL: 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