pub struct VirtioPlan9Device { /* private fields */ }
Implementations§
Source§impl VirtioPlan9Device
impl VirtioPlan9Device
pub fn new( tag: &str, fs: Plan9FileSystem, memory: GuestMemory, ) -> VirtioPlan9Device
Trait Implementations§
Source§impl LegacyVirtioDevice for VirtioPlan9Device
impl LegacyVirtioDevice for VirtioPlan9Device
fn traits(&self) -> DeviceTraits
fn read_registers_u32(&self, offset: u16) -> u32
fn write_registers_u32(&mut self, offset: u16, val: u32)
fn get_work_callback( &mut self, index: u16, ) -> Box<dyn VirtioQueueWorkerContext + Send>
fn state_change(&mut self, _: &VirtioState)
Auto Trait Implementations§
impl Freeze for VirtioPlan9Device
impl !RefUnwindSafe for VirtioPlan9Device
impl Send for VirtioPlan9Device
impl Sync for VirtioPlan9Device
impl Unpin for VirtioPlan9Device
impl !UnwindSafe for VirtioPlan9Device
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