pub struct Entropy { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Virtio for Entropy
impl Virtio for Entropy
type Config = EntropyConfig
type Feature = EntropyFeature
fn id(&self) -> DeviceId
fn name(&self) -> &str
fn spawn_worker<S, E>( self, event_rx: Receiver<WakeEvent<S, E>>, memory: Arc<RamBus>, queue_regs: Arc<[QueueReg]>, ) -> Result<(JoinHandle<()>, Arc<Notifier>), Error>
fn num_queues(&self) -> u16
fn config(&self) -> Arc<EntropyConfig>
fn feature(&self) -> u128
fn ioeventfd_offloaded(&self, _q_index: u16) -> Result<bool, Error>
fn mem_update_callback(&self) -> Option<Box<dyn LayoutUpdated>>
fn mem_change_callback(&self) -> Option<Box<dyn LayoutChanged>>
fn set_vu_channel(&mut self, _channel: Arc<VuChannel>)
Source§impl VirtioMio for Entropy
impl VirtioMio for Entropy
fn activate<'m, Q, S, E>( &mut self, _feature: u128, _active_mio: &mut ActiveMio<'_, '_, 'm, Q, S, E>, ) -> Result<(), Error>
fn handle_queue<'m, Q, S, E>( &mut self, index: u16, active_mio: &mut ActiveMio<'_, '_, 'm, Q, S, E>, ) -> Result<(), Error>
fn handle_event<'a, 'm, Q, S, E>( &mut self, _event: &Event, _active_mio: &mut ActiveMio<'_, '_, 'm, Q, S, E>, ) -> Result<(), Error>
fn reset(&mut self, _registry: &Registry)
Auto Trait Implementations§
impl Freeze for Entropy
impl RefUnwindSafe for Entropy
impl Send for Entropy
impl Sync for Entropy
impl Unpin for Entropy
impl UnsafeUnpin for Entropy
impl UnwindSafe for Entropy
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