#[repr(C)]pub struct RemovemappingOne {
pub moffset: u64,
pub len: u64,
}
Expand description
Remove file mapping request payload entry for virtio-fs.
Fields§
§moffset: u64
Mapping offset in the DAX window.
len: u64
Length to unmap.
Trait Implementations§
Source§impl ByteValued for RemovemappingOne
impl ByteValued for RemovemappingOne
Source§fn from_slice(data: &[u8]) -> Option<&Self>
fn from_slice(data: &[u8]) -> Option<&Self>
Converts a slice of raw data into a reference of
Self
. Read moreSource§fn from_mut_slice(data: &mut [u8]) -> Option<&mut Self>
fn from_mut_slice(data: &mut [u8]) -> Option<&mut Self>
Converts a mutable slice of raw data into a mutable reference of
Self
. Read moreSource§fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
Converts a mutable reference to
self
into a mutable slice of bytes. Read moreSource§fn as_bytes(&mut self) -> VolatileSlice<'_>
fn as_bytes(&mut self) -> VolatileSlice<'_>
Converts a mutable reference to
self
into a VolatileSlice
. This is
useful because VolatileSlice
provides a Bytes<usize>
implementation. Read moreSource§impl Clone for RemovemappingOne
impl Clone for RemovemappingOne
Source§fn clone(&self) -> RemovemappingOne
fn clone(&self) -> RemovemappingOne
Returns a copy 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 RemovemappingOne
impl Debug for RemovemappingOne
Source§impl Default for RemovemappingOne
impl Default for RemovemappingOne
Source§fn default() -> RemovemappingOne
fn default() -> RemovemappingOne
Returns the “default value” for a type. Read more
impl Copy for RemovemappingOne
Auto Trait Implementations§
impl Freeze for RemovemappingOne
impl RefUnwindSafe for RemovemappingOne
impl Send for RemovemappingOne
impl Sync for RemovemappingOne
impl Unpin for RemovemappingOne
impl UnwindSafe for RemovemappingOne
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