[−][src]Enum nitrokey::OperationStatus
The progress of a background operation on the Nitrokey.
Some commands may start a background operation during which no other commands can be executed. This enum stores the status of a background operation: Ongoing with a relative progress (up to 100), or idle, i. e. no background operation has been started or the last one has been finished.
Variants
Ongoing(u8)
A background operation with its progress value (less than or equal to 100).
No backgrund operation.
Trait Implementations
impl Clone for OperationStatus
[src]
fn clone(&self) -> OperationStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for OperationStatus
[src]
impl Debug for OperationStatus
[src]
impl PartialEq<OperationStatus> for OperationStatus
[src]
fn eq(&self, other: &OperationStatus) -> bool
[src]
fn ne(&self, other: &OperationStatus) -> bool
[src]
impl StructuralPartialEq for OperationStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for OperationStatus
impl Send for OperationStatus
impl Sync for OperationStatus
impl Unpin for OperationStatus
impl UnwindSafe for OperationStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,