pub enum FunctionCallSource {
Kernel,
Driver(UpcallId),
}
Expand description
Enumeration to identify whether a function call for a process comes directly
from the kernel or from a upcall subscribed through a Driver
implementation.
An example of a kernel function is the application entry point.
Variants§
Kernel
For functions coming directly from the kernel, such as init_fn
.
Driver(UpcallId)
For functions coming from capsules or any implementation of Driver
.
Trait Implementations§
Source§impl Clone for FunctionCallSource
impl Clone for FunctionCallSource
Source§fn clone(&self) -> FunctionCallSource
fn clone(&self) -> FunctionCallSource
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FunctionCallSource
impl Debug for FunctionCallSource
impl Copy for FunctionCallSource
Auto Trait Implementations§
impl Freeze for FunctionCallSource
impl RefUnwindSafe for FunctionCallSource
impl Send for FunctionCallSource
impl Sync for FunctionCallSource
impl Unpin for FunctionCallSource
impl UnwindSafe for FunctionCallSource
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