Enum twizzler_abi::syscall::ReadClockListError
source · #[repr(u64)]pub enum ReadClockListError {
Unknown,
InvalidArgument,
}
Expand description
Possible error returns for sys_read_clock_info.
Variants§
Trait Implementations§
source§impl Clone for ReadClockListError
impl Clone for ReadClockListError
source§fn clone(&self) -> ReadClockListError
fn clone(&self) -> ReadClockListError
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 ReadClockListError
impl Debug for ReadClockListError
source§impl Display for ReadClockListError
impl Display for ReadClockListError
source§impl Error for ReadClockListError
impl Error for ReadClockListError
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<ReadClockListError> for u64
impl From<ReadClockListError> for u64
source§fn from(enum_value: ReadClockListError) -> Self
fn from(enum_value: ReadClockListError) -> Self
Converts to this type from the input type.
source§impl From<u64> for ReadClockListError
impl From<u64> for ReadClockListError
source§impl FromPrimitive for ReadClockListError
impl FromPrimitive for ReadClockListError
source§impl Hash for ReadClockListError
impl Hash for ReadClockListError
source§impl Ord for ReadClockListError
impl Ord for ReadClockListError
source§fn cmp(&self, other: &ReadClockListError) -> Ordering
fn cmp(&self, other: &ReadClockListError) -> 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<ReadClockListError> for ReadClockListError
impl PartialEq<ReadClockListError> for ReadClockListError
source§fn eq(&self, other: &ReadClockListError) -> bool
fn eq(&self, other: &ReadClockListError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ReadClockListError> for ReadClockListError
impl PartialOrd<ReadClockListError> for ReadClockListError
source§fn partial_cmp(&self, other: &ReadClockListError) -> Option<Ordering>
fn partial_cmp(&self, other: &ReadClockListError) -> 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 ReadClockListError
impl Eq for ReadClockListError
impl StructuralEq for ReadClockListError
impl StructuralPartialEq for ReadClockListError
Auto Trait Implementations§
impl ObjSafe for ReadClockListError
impl RefUnwindSafe for ReadClockListError
impl Send for ReadClockListError
impl Sync for ReadClockListError
impl Unpin for ReadClockListError
impl UnwindSafe for ReadClockListError
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