#[repr(C)]pub struct UserContextRequest {
pub stack: StackHandle,
pub entry: KernelEntry,
pub tls: TlsHandle,
}Expand description
Architecture-neutral request for a context that will enter userspace.
The initial entry is still a trusted runtime trampoline. Address-space ownership and activation are scheduler resources, not register-context construction inputs.
Fields§
§stack: StackHandleRuntime-owned stack backing the trusted entry trampoline.
entry: KernelEntryInitial trusted instruction entry point.
tls: TlsHandleOptional TLS allocation.
Trait Implementations§
Source§impl Clone for UserContextRequest
impl Clone for UserContextRequest
Source§fn clone(&self) -> UserContextRequest
fn clone(&self) -> UserContextRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UserContextRequest
Auto Trait Implementations§
impl Freeze for UserContextRequest
impl RefUnwindSafe for UserContextRequest
impl Send for UserContextRequest
impl Sync for UserContextRequest
impl Unpin for UserContextRequest
impl UnsafeUnpin for UserContextRequest
impl UnwindSafe for UserContextRequest
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