#[non_exhaustive]pub enum UsercallNrs {
Show 16 variants
read,
read_alloc,
write,
flush,
close,
bind_stream,
accept_stream,
connect_stream,
launch_thread,
exit,
wait,
send,
insecure_time,
alloc,
free,
async_queues,
}🔬This is a nightly-only experimental API. (
sgx_platform #56975)Available on Fortanix and SGX only.
Expand description
Usercall numbers as per the ABI.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
read
🔬This is a nightly-only experimental API. (
sgx_platform #56975)read_alloc
🔬This is a nightly-only experimental API. (
sgx_platform #56975)write
🔬This is a nightly-only experimental API. (
sgx_platform #56975)flush
🔬This is a nightly-only experimental API. (
sgx_platform #56975)close
🔬This is a nightly-only experimental API. (
sgx_platform #56975)bind_stream
🔬This is a nightly-only experimental API. (
sgx_platform #56975)accept_stream
🔬This is a nightly-only experimental API. (
sgx_platform #56975)connect_stream
🔬This is a nightly-only experimental API. (
sgx_platform #56975)launch_thread
🔬This is a nightly-only experimental API. (
sgx_platform #56975)exit
🔬This is a nightly-only experimental API. (
sgx_platform #56975)wait
🔬This is a nightly-only experimental API. (
sgx_platform #56975)send
🔬This is a nightly-only experimental API. (
sgx_platform #56975)insecure_time
🔬This is a nightly-only experimental API. (
sgx_platform #56975)alloc
🔬This is a nightly-only experimental API. (
sgx_platform #56975)free
🔬This is a nightly-only experimental API. (
sgx_platform #56975)async_queues
🔬This is a nightly-only experimental API. (
sgx_platform #56975)Trait Implementations§
impl Copy for Usercalls
impl Eq for Usercalls
impl StructuralPartialEq for Usercalls
Auto Trait Implementations§
impl Freeze for Usercalls
impl RefUnwindSafe for Usercalls
impl Send for Usercalls
impl Sync for Usercalls
impl Unpin for Usercalls
impl UnsafeUnpin for Usercalls
impl UnwindSafe for Usercalls
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> 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.