pub struct VirtioBlockDevice { /* private fields */ }Implementations§
Source§impl VirtioBlockDevice
impl VirtioBlockDevice
pub fn new(attachment: &dyn StorageAttachment) -> Self
Trait Implementations§
Source§impl StorageDevice for VirtioBlockDevice
impl StorageDevice for VirtioBlockDevice
fn get_disk_path(&self) -> Option<&str>
fn get_read_only(&self) -> bool
Auto Trait Implementations§
impl Freeze for VirtioBlockDevice
impl RefUnwindSafe for VirtioBlockDevice
impl Send for VirtioBlockDevice
impl Sync for VirtioBlockDevice
impl Unpin for VirtioBlockDevice
impl UnsafeUnpin for VirtioBlockDevice
impl UnwindSafe for VirtioBlockDevice
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