pub struct BlockRegionLocator {
pub version: u8,
pub lease_id: u128,
pub lba: u64,
pub blocks: u32,
}Expand description
Locator for an LBA range within a block lease.
Points to blocks blocks starting at lba within the lease identified
by lease_id.
Fields§
§version: u8Schema version for this locator type.
lease_id: u128Fabric lease identifier that owns the block region.
lba: u64Starting logical block address.
blocks: u32Number of blocks in the region.
Implementations§
Trait Implementations§
Source§impl Clone for BlockRegionLocator
impl Clone for BlockRegionLocator
Source§fn clone(&self) -> BlockRegionLocator
fn clone(&self) -> BlockRegionLocator
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 BlockRegionLocator
impl Debug for BlockRegionLocator
Source§impl<'de> Deserialize<'de> for BlockRegionLocator
impl<'de> Deserialize<'de> for BlockRegionLocator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BlockRegionLocator
impl PartialEq for BlockRegionLocator
Source§impl Serialize for BlockRegionLocator
impl Serialize for BlockRegionLocator
impl StructuralPartialEq for BlockRegionLocator
Auto Trait Implementations§
impl Freeze for BlockRegionLocator
impl RefUnwindSafe for BlockRegionLocator
impl Send for BlockRegionLocator
impl Sync for BlockRegionLocator
impl Unpin for BlockRegionLocator
impl UnwindSafe for BlockRegionLocator
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