#[repr(C)]pub struct Usercall(pub u64, pub u64, pub u64, pub u64, pub u64);๐ฌThis is a nightly-only experimental API. (
sgx_platform #56975)Available on Fortanix and SGX only.
Expand description
A usercall. The elements correspond to the RDI, RSI, RDX, R8, and R9 registers in the synchronous calling convention.
Tuple Fieldsยง
ยง0: u64๐ฌThis is a nightly-only experimental API. (
ยงsgx_platform #56975)1: u64๐ฌThis is a nightly-only experimental API. (
ยงsgx_platform #56975)2: u64๐ฌThis is a nightly-only experimental API. (
ยงsgx_platform #56975)3: u64๐ฌThis is a nightly-only experimental API. (
ยงsgx_platform #56975)4: u64๐ฌThis is a nightly-only experimental API. (
sgx_platform #56975)Trait Implementationsยง
impl Copy for Usercall
impl UserSafeSized for Usercall
Auto Trait Implementationsยง
impl Freeze for Usercall
impl RefUnwindSafe for Usercall
impl Send for Usercall
impl Sync for Usercall
impl Unpin for Usercall
impl UnsafeUnpin for Usercall
impl UnwindSafe for Usercall
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ยงimpl<T> UserSafe for Twhere
T: UserSafeSized,
impl<T> UserSafe for Twhere
T: UserSafeSized,
Sourceยงfn align_of() -> usize
fn align_of() -> usize
๐ฌThis is a nightly-only experimental API. (
sgx_platform #56975)Available on Fortanix and SGX only.
Equivalent to
align_of::<Self>.Sourceยงunsafe fn from_raw_sized_unchecked(ptr: *mut u8, size: usize) -> *mut T
unsafe fn from_raw_sized_unchecked(ptr: *mut u8, size: usize) -> *mut T
๐ฌThis is a nightly-only experimental API. (
sgx_platform #56975)Available on Fortanix and SGX only.
Constructs a pointer to
Self given a memory range in user space. Read moreSourceยงimpl<T> UserSafeCopyDestination<T> for T
impl<T> UserSafeCopyDestination<T> for T
Sourceยงfn as_mut_ptr(&mut self) -> *mut T
fn as_mut_ptr(&mut self) -> *mut T
๐ฌThis is a nightly-only experimental API. (
sgx_platform #56975)Available on Fortanix and SGX only.
Returns a pointer for writing to the value.