pub struct SyscallError(/* private fields */);Expand description
Syscall executing result.
The wrapped value is the length of the error string, if any.
Implementations§
Source§impl SyscallError
impl SyscallError
Sourcepub fn into_result(self) -> Result<()>
pub fn into_result(self) -> Result<()>
Convert SyscallError into Result.
Trait Implementations§
Source§impl Clone for SyscallError
impl Clone for SyscallError
Source§fn clone(&self) -> SyscallError
fn clone(&self) -> SyscallError
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 moreSource§impl Debug for SyscallError
impl Debug for SyscallError
Source§impl From<SyscallError> for Result<()>
impl From<SyscallError> for Result<()>
Source§fn from(value: SyscallError) -> Self
fn from(value: SyscallError) -> Self
Converts to this type from the input type.
Source§impl Ord for SyscallError
impl Ord for SyscallError
Source§fn cmp(&self, other: &SyscallError) -> Ordering
fn cmp(&self, other: &SyscallError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SyscallError
impl PartialEq for SyscallError
Source§impl PartialOrd for SyscallError
impl PartialOrd for SyscallError
impl Copy for SyscallError
impl Eq for SyscallError
impl StructuralPartialEq for SyscallError
Auto Trait Implementations§
impl Freeze for SyscallError
impl RefUnwindSafe for SyscallError
impl Send for SyscallError
impl Sync for SyscallError
impl Unpin for SyscallError
impl UnwindSafe for SyscallError
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