pub enum CacheIoExecutionStateError {
ZeroCapacity,
UnknownOperation,
InvalidAdmission,
InvalidAdmissionRollback,
InvalidStart,
InvalidCompletion,
OperationStillOwned,
}Expand description
Invalid cache I/O executor lifecycle use.
Variants§
ZeroCapacity
Bounded I/O admission requires at least one slot.
UnknownOperation
The exact operation key was never prepared or was already retired.
InvalidAdmission
Admission was attempted from a non-prepared phase.
InvalidAdmissionRollback
Physical enqueue rollback did not own an admitted operation.
InvalidStart
The physical executor received an operation from an invalid phase.
InvalidCompletion
Completion did not correspond to a physically executing operation.
OperationStillOwned
Retirement preceded physical dequeue or exact completion.
Trait Implementations§
Source§impl Clone for CacheIoExecutionStateError
impl Clone for CacheIoExecutionStateError
Source§fn clone(&self) -> CacheIoExecutionStateError
fn clone(&self) -> CacheIoExecutionStateError
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 CacheIoExecutionStateError
Source§impl Debug for CacheIoExecutionStateError
impl Debug for CacheIoExecutionStateError
Source§impl Display for CacheIoExecutionStateError
impl Display for CacheIoExecutionStateError
impl Eq for CacheIoExecutionStateError
Source§impl Error for CacheIoExecutionStateError
impl Error for CacheIoExecutionStateError
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<CacheIoExecutionStateError> for CacheIoWorkerError
impl From<CacheIoExecutionStateError> for CacheIoWorkerError
Source§fn from(source: CacheIoExecutionStateError) -> Self
fn from(source: CacheIoExecutionStateError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for CacheIoExecutionStateError
Auto Trait Implementations§
impl Freeze for CacheIoExecutionStateError
impl RefUnwindSafe for CacheIoExecutionStateError
impl Send for CacheIoExecutionStateError
impl Sync for CacheIoExecutionStateError
impl Unpin for CacheIoExecutionStateError
impl UnsafeUnpin for CacheIoExecutionStateError
impl UnwindSafe for CacheIoExecutionStateError
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