#[non_exhaustive]pub struct Failure {
pub point: &'static str,
pub listener: String,
pub owner: Option<String>,
pub kind: FailureKind,
}Expand description
One listener’s failure: its contribution was dropped (except for a
FailureKind::MissingTarget); the other listeners ran, unless the
point is fail-closed (PointSpec::fail_closed).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.point: &'static strThe point emitted.
listener: StringThe listener’s id.
owner: Option<String>The listener’s owner.
kind: FailureKindWhat went wrong.
Implementations§
Trait Implementations§
impl Eq for Failure
impl StructuralPartialEq for Failure
Auto Trait Implementations§
impl Forget for Failure
impl Freeze for Failure
impl Move for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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