pub enum TerminationMonitorError<E, Report> {
Inner(E),
UnexpectedReport {
observation: TerminationObservation,
report: Report,
},
}Expand description
Exact rejection from the observation wrapper.
Variants§
Inner(E)
The wrapped behavior rejected its own event.
UnexpectedReport
A returned observation report does not belong to the current phase or configured relationship.
Trait Implementations§
Source§impl<E: Debug, Report> Debug for TerminationMonitorError<E, Report>
impl<E: Debug, Report> Debug for TerminationMonitorError<E, Report>
Source§impl<E, Report> Display for TerminationMonitorError<E, Report>
impl<E, Report> Display for TerminationMonitorError<E, Report>
Source§impl<E, Report> Error for TerminationMonitorError<E, Report>
impl<E, Report> Error for TerminationMonitorError<E, Report>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<E, Report> Freeze for TerminationMonitorError<E, Report>
impl<E, Report> RefUnwindSafe for TerminationMonitorError<E, Report>where
E: RefUnwindSafe,
Report: RefUnwindSafe,
impl<E, Report> Send for TerminationMonitorError<E, Report>
impl<E, Report> Sync for TerminationMonitorError<E, Report>
impl<E, Report> Unpin for TerminationMonitorError<E, Report>
impl<E, Report> UnsafeUnpin for TerminationMonitorError<E, Report>where
E: UnsafeUnpin,
Report: UnsafeUnpin,
impl<E, Report> UnwindSafe for TerminationMonitorError<E, Report>where
E: UnwindSafe,
Report: 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