pub enum RecordSource {
Bootstrap,
ScannedLeaf {
bytenr: u64,
generation: u64,
},
}Expand description
Where a recovered record came from.
Variants§
Bootstrap
From the superblock’s sys_chunk_array (bootstrap).
ScannedLeaf
From a chunk-tree leaf found during the raw device scan.
Trait Implementations§
Source§impl Clone for RecordSource
impl Clone for RecordSource
Source§fn clone(&self) -> RecordSource
fn clone(&self) -> RecordSource
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 moreimpl Copy for RecordSource
Source§impl Debug for RecordSource
impl Debug for RecordSource
impl Eq for RecordSource
Source§impl PartialEq for RecordSource
impl PartialEq for RecordSource
impl StructuralPartialEq for RecordSource
Auto Trait Implementations§
impl Freeze for RecordSource
impl RefUnwindSafe for RecordSource
impl Send for RecordSource
impl Sync for RecordSource
impl Unpin for RecordSource
impl UnsafeUnpin for RecordSource
impl UnwindSafe for RecordSource
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.