pub struct NullHandler(/* private fields */);
Expand description
A Handler
implementation which does not override any of the default method implementations.
Implementations§
Source§impl NullHandler
impl NullHandler
Trait Implementations§
Source§impl Handler for NullHandler
impl Handler for NullHandler
Source§type Error = Infallible
type Error = Infallible
Error type returned by this protection domain’s entrypoints.
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 Freeze for NullHandler
impl RefUnwindSafe for NullHandler
impl Send for NullHandler
impl Sync for NullHandler
impl Unpin for NullHandler
impl UnwindSafe for NullHandler
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
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
§type Error = Infallible
type Error = Infallible
The type returned in the event of a conversion error.