pub struct BlockDevice { /* private fields */ }
Expand description
Block Device Command
Implementations§
Source§impl BlockDevice
impl BlockDevice
Sourcepub fn new(address: Address, address_type: AddressType) -> Self
pub fn new(address: Address, address_type: AddressType) -> Self
Constructs a new BlockDevice
.
Trait Implementations§
Source§impl CommandRequest for BlockDevice
impl CommandRequest for BlockDevice
Source§const CODE: CommandCode = CommandCode::BlockDevice
const CODE: CommandCode = CommandCode::BlockDevice
Command code.
Source§type Reply = BlockDeviceReply
type Reply = BlockDeviceReply
Return type for this command.
Source§impl Debug for BlockDevice
impl Debug for BlockDevice
Source§impl From<BlockDevice> for Command
impl From<BlockDevice> for Command
Source§fn from(v: BlockDevice) -> Self
fn from(v: BlockDevice) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BlockDevice
impl RefUnwindSafe for BlockDevice
impl Send for BlockDevice
impl Sync for BlockDevice
impl Unpin for BlockDevice
impl UnwindSafe for BlockDevice
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