Enum twizzler_abi::syscall::SctxAttachError
source · #[repr(u64)]pub enum SctxAttachError {
Unknown,
InvalidArgument,
ObjectNotFound,
PermissionDenied,
}
Expand description
Possible error returns for sys_sctx_attach.
Variants§
Unknown
An unknown error occurred.
InvalidArgument
One of the arguments was invalid.
ObjectNotFound
An was not found.
PermissionDenied
Permission denied.
Trait Implementations§
source§impl Clone for SctxAttachError
impl Clone for SctxAttachError
source§fn clone(&self) -> SctxAttachError
fn clone(&self) -> SctxAttachError
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 SctxAttachError
impl Debug for SctxAttachError
source§impl Display for SctxAttachError
impl Display for SctxAttachError
source§impl Error for SctxAttachError
impl Error for SctxAttachError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<SctxAttachError> for u64
impl From<SctxAttachError> for u64
source§fn from(enum_value: SctxAttachError) -> Self
fn from(enum_value: SctxAttachError) -> Self
Converts to this type from the input type.
source§impl From<u64> for SctxAttachError
impl From<u64> for SctxAttachError
source§impl FromPrimitive for SctxAttachError
impl FromPrimitive for SctxAttachError
source§impl Hash for SctxAttachError
impl Hash for SctxAttachError
source§impl Ord for SctxAttachError
impl Ord for SctxAttachError
source§fn cmp(&self, other: &SctxAttachError) -> Ordering
fn cmp(&self, other: &SctxAttachError) -> 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<SctxAttachError> for SctxAttachError
impl PartialEq<SctxAttachError> for SctxAttachError
source§fn eq(&self, other: &SctxAttachError) -> bool
fn eq(&self, other: &SctxAttachError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SctxAttachError> for SctxAttachError
impl PartialOrd<SctxAttachError> for SctxAttachError
source§fn partial_cmp(&self, other: &SctxAttachError) -> Option<Ordering>
fn partial_cmp(&self, other: &SctxAttachError) -> 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 SctxAttachError
impl Eq for SctxAttachError
impl StructuralEq for SctxAttachError
impl StructuralPartialEq for SctxAttachError
Auto Trait Implementations§
impl ObjSafe for SctxAttachError
impl RefUnwindSafe for SctxAttachError
impl Send for SctxAttachError
impl Sync for SctxAttachError
impl Unpin for SctxAttachError
impl UnwindSafe for SctxAttachError
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