pub enum StagedDamage {
Record,
Writes,
}Expand description
Damage a test makes to a staging, as damage on this device’s disk would (§19.1).
Variants§
Record
Its first staged record is cut to one byte, which a load or file check refuses.
Writes
Its staged writes claim to have read through their own slots, which finishing the staging refuses.
Trait Implementations§
Source§impl Clone for StagedDamage
impl Clone for StagedDamage
Source§fn clone(&self) -> StagedDamage
fn clone(&self) -> StagedDamage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StagedDamage
impl Debug for StagedDamage
Source§impl PartialEq for StagedDamage
impl PartialEq for StagedDamage
impl Copy for StagedDamage
impl Eq for StagedDamage
impl StructuralPartialEq for StagedDamage
Auto Trait Implementations§
impl Freeze for StagedDamage
impl RefUnwindSafe for StagedDamage
impl Send for StagedDamage
impl Sync for StagedDamage
impl Unpin for StagedDamage
impl UnsafeUnpin for StagedDamage
impl UnwindSafe for StagedDamage
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.