#[repr(u64)]pub enum ReadClockListError {
Unknown = 0,
InvalidArgument = 1,
}
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)>
Returns 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 for ReadClockListError
impl PartialEq for ReadClockListError
source§impl PartialOrd for ReadClockListError
impl PartialOrd for ReadClockListError
impl Copy for ReadClockListError
impl Eq for ReadClockListError
impl StructuralPartialEq for ReadClockListError
Auto Trait Implementations§
impl Freeze for ReadClockListError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
Compare self to
key
and return true
if they are equal.