#[repr(C)]pub struct RemovemappingIn {
pub count: u32,
}
Expand description
Remove file mapping request message header for virtio-fs.
Fields§
§count: u32
Number of RemovemappingOne
entries in the message payload.
Trait Implementations§
Source§impl ByteValued for RemovemappingIn
impl ByteValued for RemovemappingIn
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 RemovemappingIn
impl Clone for RemovemappingIn
Source§fn clone(&self) -> RemovemappingIn
fn clone(&self) -> RemovemappingIn
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 RemovemappingIn
impl Debug for RemovemappingIn
Source§impl Default for RemovemappingIn
impl Default for RemovemappingIn
Source§fn default() -> RemovemappingIn
fn default() -> RemovemappingIn
Returns the “default value” for a type. Read more
impl Copy for RemovemappingIn
Auto Trait Implementations§
impl Freeze for RemovemappingIn
impl RefUnwindSafe for RemovemappingIn
impl Send for RemovemappingIn
impl Sync for RemovemappingIn
impl Unpin for RemovemappingIn
impl UnwindSafe for RemovemappingIn
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