Struct fuse::sys::IoctlIovec
source · #[repr(C)]pub struct IoctlIovec {
pub base: u64,
pub len: u64,
}
Expand description
Describes a region of memory in the address space of the process that made the ioctl syscall.
Similar to libc::iovec
but uses u64
s for the address and the length.
Fields§
§base: u64
The start address of the memory region. This must be in the address space of the process that made the ioctl syscall.
len: u64
The length of the memory region.
Trait Implementations§
source§impl AsBytes for IoctlIovecwhere
u64: AsBytes,
HasPadding<IoctlIovec, { _ }>: ShouldBe<false>,
impl AsBytes for IoctlIovecwhere
u64: AsBytes,
HasPadding<IoctlIovec, { _ }>: ShouldBe<false>,
§fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
fn write_to_prefix(&self, bytes: &mut [u8]) -> Option<()>
source§impl Clone for IoctlIovec
impl Clone for IoctlIovec
source§fn clone(&self) -> IoctlIovec
fn clone(&self) -> IoctlIovec
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 IoctlIovec
impl Debug for IoctlIovec
source§impl Default for IoctlIovec
impl Default for IoctlIovec
source§fn default() -> IoctlIovec
fn default() -> IoctlIovec
Returns the “default value” for a type. Read more
source§impl FromBytes for IoctlIovecwhere
u64: FromBytes,
impl FromBytes for IoctlIovecwhere
u64: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + AsBytes,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + AsBytes,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + AsBytes,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + AsBytes,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeroes for IoctlIovecwhere
u64: FromZeroes,
impl FromZeroes for IoctlIovecwhere
u64: FromZeroes,
impl Copy for IoctlIovec
Auto Trait Implementations§
impl RefUnwindSafe for IoctlIovec
impl Send for IoctlIovec
impl Sync for IoctlIovec
impl Unpin for IoctlIovec
impl UnwindSafe for IoctlIovec
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