pub struct LegacyWrapper<T: LegacyVirtioDevice> { /* private fields */ }
Expand description
Wraps an object implementing LegacyVirtioDevice
and implements VirtioDevice
.
Implementations§
Source§impl<T: LegacyVirtioDevice> LegacyWrapper<T>
impl<T: LegacyVirtioDevice> LegacyWrapper<T>
Trait Implementations§
Source§impl<T: LegacyVirtioDevice> Drop for LegacyWrapper<T>
impl<T: LegacyVirtioDevice> Drop for LegacyWrapper<T>
Source§impl<T: LegacyVirtioDevice> VirtioDevice for LegacyWrapper<T>
impl<T: LegacyVirtioDevice> VirtioDevice for LegacyWrapper<T>
Auto Trait Implementations§
impl<T> !Freeze for LegacyWrapper<T>
impl<T> !RefUnwindSafe for LegacyWrapper<T>
impl<T> Send for LegacyWrapper<T>
impl<T> !Sync for LegacyWrapper<T>
impl<T> Unpin for LegacyWrapper<T>where
T: Unpin,
impl<T> !UnwindSafe for LegacyWrapper<T>
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