pub enum EaDblkPath {
Direct {
idx: usize,
},
ViaSblk {
sblk_off: usize,
local_dblk: usize,
ndblks_in_sblk: usize,
sblk_block_offset: u64,
},
}Expand description
How an EA data block’s address is reached from the index block.
Variants§
Direct
Address is index_block.dblk_addrs[idx].
ViaSblk
Address is super_block(index_block.sblk_addrs[sblk_off]).dblk_addrs[local_dblk].
Trait Implementations§
Source§impl Clone for EaDblkPath
impl Clone for EaDblkPath
Source§fn clone(&self) -> EaDblkPath
fn clone(&self) -> EaDblkPath
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 Debug for EaDblkPath
impl Debug for EaDblkPath
Source§impl PartialEq for EaDblkPath
impl PartialEq for EaDblkPath
Source§fn eq(&self, other: &EaDblkPath) -> bool
fn eq(&self, other: &EaDblkPath) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EaDblkPath
impl StructuralPartialEq for EaDblkPath
Auto Trait Implementations§
impl Freeze for EaDblkPath
impl RefUnwindSafe for EaDblkPath
impl Send for EaDblkPath
impl Sync for EaDblkPath
impl Unpin for EaDblkPath
impl UnsafeUnpin for EaDblkPath
impl UnwindSafe for EaDblkPath
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