pub enum OperationState {
Created,
AwaitingResponse,
Completed,
Failed,
Cancelled,
ResultTaken,
}Expand description
Local lifecycle state, independent of card login or connection state.
Variants§
Created
Constructed but not started.
AwaitingResponse
One physical command is available and awaits a complete response.
Completed
A typed result is available; working protocol state has been released.
Failed
Protocol execution failed; the stored error is available.
Cancelled
Active working state was discarded locally without performing I/O.
ResultTaken
The result has been moved out and cannot be read or taken again.
Trait Implementations§
Source§impl Clone for OperationState
impl Clone for OperationState
Source§fn clone(&self) -> OperationState
fn clone(&self) -> OperationState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OperationState
Source§impl Debug for OperationState
impl Debug for OperationState
impl Eq for OperationState
Source§impl PartialEq for OperationState
impl PartialEq for OperationState
impl StructuralPartialEq for OperationState
Auto Trait Implementations§
impl Freeze for OperationState
impl RefUnwindSafe for OperationState
impl Send for OperationState
impl Sync for OperationState
impl Unpin for OperationState
impl UnsafeUnpin for OperationState
impl UnwindSafe for OperationState
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