Struct sel4_microkit_driver_adapters::net::driver::HandlerImpl
source · pub struct HandlerImpl<Device> { /* private fields */ }
Implementations§
source§impl<Device> HandlerImpl<Device>
impl<Device> HandlerImpl<Device>
pub fn new( dev: Device, client_region: ExternallySharedRef<'static, [u8]>, rx_ring_buffers: RingBuffers<'static, Use, fn()>, tx_ring_buffers: RingBuffers<'static, Use, fn()>, device_channel: Channel, client_channel: Channel, ) -> Self
Trait Implementations§
source§impl<Device: Device + HandleInterrupt + GetNetDeviceMeta> Handler for HandlerImpl<Device>
impl<Device: Device + HandleInterrupt + GetNetDeviceMeta> Handler for HandlerImpl<Device>
source§fn notified(&mut self, channel: Channel) -> Result<(), Self::Error>
fn notified(&mut self, channel: Channel) -> Result<(), Self::Error>
This method has the same meaning and type as its analog in
libmicrokit
. Read moresource§fn protected(
&mut self,
channel: Channel,
msg_info: MessageInfo,
) -> Result<MessageInfo, Self::Error>
fn protected( &mut self, channel: Channel, msg_info: MessageInfo, ) -> Result<MessageInfo, Self::Error>
This method has the same meaning and type as its analog in
libmicrokit
. Read moresource§fn fault(
&mut self,
child: Child,
msg_info: MessageInfo,
) -> Result<Option<MessageInfo>, Self::Error>
fn fault( &mut self, child: Child, msg_info: MessageInfo, ) -> Result<Option<MessageInfo>, Self::Error>
This method has the same meaning and type as its analog in
libmicrokit
. Read moresource§fn take_deferred_action(&mut self) -> Option<DeferredAction>
fn take_deferred_action(&mut self) -> Option<DeferredAction>
An advanced feature for use by protection domains which seek to coalesce syscalls when
possible. Read more
Auto Trait Implementations§
impl<Device> Freeze for HandlerImpl<Device>where
Device: Freeze,
impl<Device> RefUnwindSafe for HandlerImpl<Device>where
Device: RefUnwindSafe,
impl<Device> Send for HandlerImpl<Device>where
Device: Send,
impl<Device> Sync for HandlerImpl<Device>where
Device: Sync,
impl<Device> Unpin for HandlerImpl<Device>where
Device: Unpin,
impl<Device> UnwindSafe for HandlerImpl<Device>where
Device: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more