Enum r3_core::kernel::AdjustTimeError
source · [−]#[repr(i8)]
pub enum AdjustTimeError {
BadContext,
BadObjectState,
}
Expand description
Error type for Kernel::adjust_time
.
See ResultCode
for all result codes and generic descriptions.
Variants
BadContext
CPU Lock is active.
BadObjectState
The requested adjustment is not possible under the current system state.
Trait Implementations
sourceimpl Clone for AdjustTimeError
impl Clone for AdjustTimeError
sourcefn clone(&self) -> AdjustTimeError
fn clone(&self) -> AdjustTimeError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AdjustTimeError
impl Debug for AdjustTimeError
sourceimpl From<AdjustTimeError> for ResultCode
impl From<AdjustTimeError> for ResultCode
sourcefn from(x: AdjustTimeError) -> Self
fn from(x: AdjustTimeError) -> Self
Converts to this type from the input type.
sourceimpl Hash for AdjustTimeError
impl Hash for AdjustTimeError
sourceimpl Ord for AdjustTimeError
impl Ord for AdjustTimeError
sourceimpl PartialEq<AdjustTimeError> for AdjustTimeError
impl PartialEq<AdjustTimeError> for AdjustTimeError
sourceimpl PartialOrd<AdjustTimeError> for AdjustTimeError
impl PartialOrd<AdjustTimeError> for AdjustTimeError
sourcefn partial_cmp(&self, other: &AdjustTimeError) -> Option<Ordering>
fn partial_cmp(&self, other: &AdjustTimeError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for AdjustTimeError
impl Eq for AdjustTimeError
impl StructuralEq for AdjustTimeError
impl StructuralPartialEq for AdjustTimeError
Auto Trait Implementations
impl RefUnwindSafe for AdjustTimeError
impl Send for AdjustTimeError
impl Sync for AdjustTimeError
impl Unpin for AdjustTimeError
impl UnwindSafe for AdjustTimeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more