pub struct FailureInfo<V>where
V: Identities,{
pub id: <V as Identities>::FailureId,
pub cause: FailureCause<V>,
pub suspect: SuspectSet<V>,
pub observed: <V as Identities>::Instant,
pub markings: Vec<Marking<V>>,
pub token_live: bool,
}Expand description
One unresolved failure, as the inventory reports it. Owned, so holding it borrows nothing.
Fields§
§id: <V as Identities>::FailureIdThe failure’s identity.
cause: FailureCause<V>Why it exists.
suspect: SuspectSet<V>The writes it put at risk.
observed: <V as Identities>::InstantWhen the instance observed it: the same stamp its Failed entry carried.
markings: Vec<Marking<V>>Every marking it has gained, in the order observed.
token_live: boolWhether its token is held somewhere; if not, the inventory can hand one out.
Trait Implementations§
Source§impl<V> Clone for FailureInfo<V>where
V: Clone + Identities,
<V as Identities>::FailureId: Clone,
<V as Identities>::Instant: Clone,
impl<V> Clone for FailureInfo<V>where
V: Clone + Identities,
<V as Identities>::FailureId: Clone,
<V as Identities>::Instant: Clone,
Source§fn clone(&self) -> FailureInfo<V>
fn clone(&self) -> FailureInfo<V>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<V> Debug for FailureInfo<V>where
V: Debug + Identities,
<V as Identities>::FailureId: Debug,
<V as Identities>::Instant: Debug,
impl<V> Debug for FailureInfo<V>where
V: Debug + Identities,
<V as Identities>::FailureId: Debug,
<V as Identities>::Instant: Debug,
Auto Trait Implementations§
impl<V> !RefUnwindSafe for FailureInfo<V>
impl<V> !UnwindSafe for FailureInfo<V>
impl<V> Freeze for FailureInfo<V>where
<V as Identities>::FailureId: Freeze,
FailureCause<V>: Freeze,
SuspectSet<V>: Freeze,
<V as Identities>::Instant: Freeze,
Vec<Marking<V>>: Freeze,
impl<V> Send for FailureInfo<V>where
<V as Identities>::FailureId: Send,
FailureCause<V>: Send,
SuspectSet<V>: Send,
<V as Identities>::Instant: Send,
Vec<Marking<V>>: Send,
impl<V> Sync for FailureInfo<V>where
<V as Identities>::FailureId: Sync,
FailureCause<V>: Sync,
SuspectSet<V>: Sync,
<V as Identities>::Instant: Sync,
Vec<Marking<V>>: Sync,
impl<V> Unpin for FailureInfo<V>where
<V as Identities>::FailureId: Unpin,
FailureCause<V>: Unpin,
SuspectSet<V>: Unpin,
<V as Identities>::Instant: Unpin,
Vec<Marking<V>>: Unpin,
impl<V> UnsafeUnpin for FailureInfo<V>where
<V as Identities>::FailureId: UnsafeUnpin,
FailureCause<V>: UnsafeUnpin,
SuspectSet<V>: UnsafeUnpin,
<V as Identities>::Instant: UnsafeUnpin,
Vec<Marking<V>>: UnsafeUnpin,
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