pub struct SyscallResult {
pub result: u64,
pub data: [u64; 6],
}Fields§
§result: u64§data: [u64; 6]Implementations§
Source§impl SyscallResult
impl SyscallResult
pub const F_TIMED_OUT: u64 = 65_536u64
pub const F_HANDLE_ARRAY: u64 = 131_072u64
pub fn is_ok(&self) -> bool
pub fn timed_out(&self) -> bool
pub fn error_code(&self) -> ErrorCode
Trait Implementations§
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