Struct kernel::process::ReturnArguments
source · pub struct ReturnArguments {
pub upcall_id: UpcallId,
pub argument0: usize,
pub argument1: usize,
pub argument2: usize,
}
Expand description
This is similar to FunctionCall
but for the special case of the Null
Upcall for a subscribe. Because there is no function pointer in a Null
Upcall we can only return these values to userspace. This is used to pass
around upcall parameters when there is no associated upcall to actually call
or userdata.
Fields§
§upcall_id: UpcallId
Which upcall generates this event.
argument0: usize
The first argument to return.
argument1: usize
The second argument to return.
argument2: usize
The third argument to return.
Trait Implementations§
source§impl Clone for ReturnArguments
impl Clone for ReturnArguments
source§fn clone(&self) -> ReturnArguments
fn clone(&self) -> ReturnArguments
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 ReturnArguments
impl Debug for ReturnArguments
impl Copy for ReturnArguments
Auto Trait Implementations§
impl Freeze for ReturnArguments
impl RefUnwindSafe for ReturnArguments
impl Send for ReturnArguments
impl Sync for ReturnArguments
impl Unpin for ReturnArguments
impl UnwindSafe for ReturnArguments
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)