pub enum MappingCommand {
Mappings {
key: u64,
offset: u32,
metadata_count: u32,
blob_count: u32,
},
CloseBlob {
key: u64,
},
}Variants§
Mappings
Informs the driver of the extent mappings for a blob.
The VMO payload contains blob_count data extent mappings followed by metadata_count
Merkle extent mappings.
Fields
CloseBlob
Informs the driver that the blob session is closed and mappings can be discarded.
Trait Implementations§
Source§impl Clone for MappingCommand
impl Clone for MappingCommand
Source§fn clone(&self) -> MappingCommand
fn clone(&self) -> MappingCommand
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 MappingCommand
Source§impl Debug for MappingCommand
impl Debug for MappingCommand
Source§impl From<MappingCommand> for RawMappingCommand
impl From<MappingCommand> for RawMappingCommand
Source§fn from(cmd: MappingCommand) -> Self
fn from(cmd: MappingCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MappingCommand
impl PartialEq for MappingCommand
Source§fn eq(&self, other: &MappingCommand) -> bool
fn eq(&self, other: &MappingCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MappingCommand
Source§impl TryFrom<RawMappingCommand> for MappingCommand
impl TryFrom<RawMappingCommand> for MappingCommand
Auto Trait Implementations§
impl Freeze for MappingCommand
impl RefUnwindSafe for MappingCommand
impl Send for MappingCommand
impl Sync for MappingCommand
impl Unpin for MappingCommand
impl UnsafeUnpin for MappingCommand
impl UnwindSafe for MappingCommand
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<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more