Enum kernel::process::FunctionCallSource
source · [−]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
sourceimpl Clone for FunctionCallSource
impl Clone for FunctionCallSource
sourcefn clone(&self) -> FunctionCallSource
fn clone(&self) -> FunctionCallSource
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FunctionCallSource
impl Debug for FunctionCallSource
impl Copy for FunctionCallSource
Auto Trait Implementations
impl RefUnwindSafe for FunctionCallSource
impl Send for FunctionCallSource
impl Sync for FunctionCallSource
impl Unpin for FunctionCallSource
impl UnwindSafe for FunctionCallSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more