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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more