#[repr(usize)]pub enum SyscallResult {
Ok = 0,
Error = 1,
MemoryRange = 3,
ConnectionId = 7,
Message = 9,
ThreadId = 10,
Scalar1 = 14,
Scalar2 = 15,
MemoryReturned = 18,
Scalar5 = 20,
}Expand description
Copies of these invocation types here for when we’re running in environments without libxous.
Variants§
Ok = 0
Error = 1
MemoryRange = 3
ConnectionId = 7
Message = 9
ThreadId = 10
Scalar1 = 14
Scalar2 = 15
MemoryReturned = 18
Scalar5 = 20
Trait Implementations§
Source§impl Clone for SyscallResult
impl Clone for SyscallResult
Source§fn clone(&self) -> SyscallResult
fn clone(&self) -> SyscallResult
Returns a duplicate 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 moreimpl Copy for SyscallResult
Auto Trait Implementations§
impl Freeze for SyscallResult
impl RefUnwindSafe for SyscallResult
impl Send for SyscallResult
impl Sync for SyscallResult
impl Unpin for SyscallResult
impl UnwindSafe for SyscallResult
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