Struct remote_block_device::fifo::BlockFifoRequest
source · #[repr(C)]pub struct BlockFifoRequest {
pub command: block_fifo_command_t,
pub reqid: reqid_t,
pub group: groupid_t,
pub vmoid: vmoid_t,
pub length: u32,
pub padding_to_satisfy_zerocopy: u32,
pub vmo_offset: u64,
pub dev_offset: u64,
pub trace_flow_id: u64,
}
Fields§
§command: block_fifo_command_t
§reqid: reqid_t
§group: groupid_t
§vmoid: vmoid_t
§length: u32
§padding_to_satisfy_zerocopy: u32
§vmo_offset: u64
§dev_offset: u64
§trace_flow_id: u64
Trait Implementations§
source§impl Clone for BlockFifoRequest
impl Clone for BlockFifoRequest
source§fn clone(&self) -> BlockFifoRequest
fn clone(&self) -> BlockFifoRequest
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 BlockFifoRequest
impl Debug for BlockFifoRequest
source§impl Default for BlockFifoRequest
impl Default for BlockFifoRequest
source§fn default() -> BlockFifoRequest
fn default() -> BlockFifoRequest
Returns the “default value” for a type. Read more
source§impl FromBytes for BlockFifoRequest
impl FromBytes for BlockFifoRequest
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
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 + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
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 + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
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 + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
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 FromZeros for BlockFifoRequest
impl FromZeros for BlockFifoRequest
source§impl IntoBytes for BlockFifoRequestwhere
block_fifo_command_t: IntoBytes,
reqid_t: IntoBytes,
groupid_t: IntoBytes,
vmoid_t: IntoBytes,
u32: IntoBytes,
u64: IntoBytes,
HasPadding<BlockFifoRequest, { _ }>: ShouldBe<false>,
impl IntoBytes for BlockFifoRequestwhere
block_fifo_command_t: IntoBytes,
reqid_t: IntoBytes,
groupid_t: IntoBytes,
vmoid_t: IntoBytes,
u32: IntoBytes,
u64: IntoBytes,
HasPadding<BlockFifoRequest, { _ }>: ShouldBe<false>,
impl Copy for BlockFifoRequest
Auto Trait Implementations§
impl Freeze for BlockFifoRequest
impl RefUnwindSafe for BlockFifoRequest
impl Send for BlockFifoRequest
impl Sync for BlockFifoRequest
impl Unpin for BlockFifoRequest
impl UnwindSafe for BlockFifoRequest
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