Struct gstd::errors::SyscallError
source · 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<(), Error>
pub fn into_result(self) -> Result<(), Error>
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 copy 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 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§fn eq(&self, other: &SyscallError) -> bool
fn eq(&self, other: &SyscallError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for SyscallError
impl PartialOrd for SyscallError
source§fn partial_cmp(&self, other: &SyscallError) -> Option<Ordering>
fn partial_cmp(&self, other: &SyscallError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for SyscallError
impl Eq for SyscallError
impl StructuralEq for SyscallError
impl StructuralPartialEq for SyscallError
Auto Trait Implementations§
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