#[repr(u32)]pub enum RuntimeStatus {
Success = 0,
NotInitialized = 1,
InvalidHandle = 2,
InvalidArgument = 3,
NoMemory = 4,
Unsupported = 5,
Busy = 6,
Platform = 7,
UnsafeContext = 8,
}Expand description
Stable runtime operation status used across the trait-ffi boundary.
Variants§
Success = 0
The operation completed successfully.
NotInitialized = 1
The runtime capability has not been initialized.
InvalidHandle = 2
A supplied handle is stale or unknown to the runtime.
InvalidArgument = 3
A supplied value violates the runtime contract.
NoMemory = 4
The runtime cannot allocate the requested resource.
Unsupported = 5
The runtime does not implement this optional capability.
Busy = 6
The requested resource is temporarily busy.
Platform = 7
A platform operation failed.
UnsafeContext = 8
The caller holds an IRQ/preemption guard or is otherwise non-sleepable.
Trait Implementations§
Source§impl Clone for RuntimeStatus
impl Clone for RuntimeStatus
Source§fn clone(&self) -> RuntimeStatus
fn clone(&self) -> RuntimeStatus
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 RuntimeStatus
Source§impl Debug for RuntimeStatus
impl Debug for RuntimeStatus
impl Eq for RuntimeStatus
Source§impl PartialEq for RuntimeStatus
impl PartialEq for RuntimeStatus
impl StructuralPartialEq for RuntimeStatus
Auto Trait Implementations§
impl Freeze for RuntimeStatus
impl RefUnwindSafe for RuntimeStatus
impl Send for RuntimeStatus
impl Sync for RuntimeStatus
impl Unpin for RuntimeStatus
impl UnsafeUnpin for RuntimeStatus
impl UnwindSafe for RuntimeStatus
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