pub struct DeviceBlock {
pub access_type: AccessType,
pub start_device: Device,
pub size: usize,
}Expand description
Block unit of the device pointer. It is used for block-read request. Multiple blocks are acceptable for block-read request.
Fields§
§access_type: AccessType§start_device: Device§size: usizeTrait Implementations§
Source§impl Clone for DeviceBlock
impl Clone for DeviceBlock
Source§fn clone(&self) -> DeviceBlock
fn clone(&self) -> DeviceBlock
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceBlock
impl Debug for DeviceBlock
Source§impl<'de> Deserialize<'de> for DeviceBlock
impl<'de> Deserialize<'de> for DeviceBlock
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeviceBlock
impl PartialEq for DeviceBlock
Source§impl PartialOrd for DeviceBlock
impl PartialOrd for DeviceBlock
Source§impl Serialize for DeviceBlock
impl Serialize for DeviceBlock
impl Copy for DeviceBlock
impl StructuralPartialEq for DeviceBlock
Auto Trait Implementations§
impl Freeze for DeviceBlock
impl RefUnwindSafe for DeviceBlock
impl Send for DeviceBlock
impl Sync for DeviceBlock
impl Unpin for DeviceBlock
impl UnwindSafe for DeviceBlock
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)