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