pub struct VirtIOBlock(Mutex<VirtIOBlk<HalImpl, MmioTransport>>);Expand description
VirtIO 块设备
通过 virtio_drivers 实现的 VirtIO 块设备
Tuple Fields§
§0: Mutex<VirtIOBlk<HalImpl, MmioTransport>>Implementations§
Source§impl VirtIOBlock
impl VirtIOBlock
Trait Implementations§
Source§impl BlockDevice for VirtIOBlock
impl BlockDevice for VirtIOBlock
impl Send for VirtIOBlock
impl Sync for VirtIOBlock
Auto Trait Implementations§
impl !Freeze for VirtIOBlock
impl !RefUnwindSafe for VirtIOBlock
impl Unpin for VirtIOBlock
impl UnwindSafe for VirtIOBlock
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