pub enum Recorded {
Written(AuditEntry),
Queued {
entry: AuditEntry,
pending: usize,
},
NotOriginated,
}Expand description
What became of one decision (AuditChain::record).
Variants§
Written(AuditEntry)
In the file (and, for a framed chain, in the transaction log).
Queued
The log is RELEASED (the data set is being grown): the entry is linked and held in
memory, in order, and is framed and written by the first AuditChain::record or
AuditChain::flush after the remount. pending counts the held entries.
NotOriginated
The box FOLLOWS its primary (a twin, or restoring): a framed chain is the primary’s trail, and this box originates nothing into it. Written nowhere.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Recorded
impl RefUnwindSafe for Recorded
impl Send for Recorded
impl Sync for Recorded
impl Unpin for Recorded
impl UnsafeUnpin for Recorded
impl UnwindSafe for Recorded
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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