#[non_exhaustive]pub enum AuditMode {
Full,
Last(usize),
Off,
}Expand description
Which audit entries a run keeps on the message. Full by default.
An entry is one recorded call, skip or engine write. A fan-out’s into
pre-fill is not one: before the first element runs, the engine writes one
null per element there, so an element that fails or never runs keeps
its slot. A halted fan-out therefore leaves into as [0, 1, null, null] while the trail holds only the entries for .0 and .1, and
replaying the trail does not rebuild the context. A trace does keep the
pre-fill, as the first change of the first folded element’s step, when
TraceOptions::changes is on.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Full
Keep every entry.
Last(usize)
Keep the most recent n entries; Last(0) keeps none.
Off
Keep none.
Trait Implementations§
impl Copy for AuditMode
impl Eq for AuditMode
impl StructuralPartialEq for AuditMode
Auto Trait Implementations§
impl Freeze for AuditMode
impl RefUnwindSafe for AuditMode
impl Send for AuditMode
impl Sync for AuditMode
impl Unpin for AuditMode
impl UnsafeUnpin for AuditMode
impl UnwindSafe for AuditMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.