pub enum PublishErrorKind<E> {
NotReady,
QueueFull,
InsufficientDescriptors,
ResetRace {
operation: QueueEpoch,
current: QueueEpoch,
},
Transport(E),
}Expand description
Pre-publication failure classification.
Variants§
NotReady
The queue is not configured and ready.
QueueFull
No free descriptor head or available-ring slot exists.
InsufficientDescriptors
The supplied command lacks enough descriptors or writable capacity.
ResetRace
Reset invalidated publication before ownership could transfer.
Fields
§
operation: QueueEpochEpoch in which publication began.
§
current: QueueEpochCurrent queue epoch.
Transport(E)
Concrete transport failure before ownership transfer.
Trait Implementations§
Source§impl<E: Clone> Clone for PublishErrorKind<E>
impl<E: Clone> Clone for PublishErrorKind<E>
Source§fn clone(&self) -> PublishErrorKind<E>
fn clone(&self) -> PublishErrorKind<E>
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<E: Copy> Copy for PublishErrorKind<E>
Source§impl<E: Debug> Debug for PublishErrorKind<E>
impl<E: Debug> Debug for PublishErrorKind<E>
impl<E: Eq> Eq for PublishErrorKind<E>
Source§impl<E: PartialEq> PartialEq for PublishErrorKind<E>
impl<E: PartialEq> PartialEq for PublishErrorKind<E>
Source§fn eq(&self, other: &PublishErrorKind<E>) -> bool
fn eq(&self, other: &PublishErrorKind<E>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<E: PartialEq> StructuralPartialEq for PublishErrorKind<E>
Auto Trait Implementations§
impl<E> Freeze for PublishErrorKind<E>where
E: Freeze,
impl<E> RefUnwindSafe for PublishErrorKind<E>where
E: RefUnwindSafe,
impl<E> Send for PublishErrorKind<E>where
E: Send,
impl<E> Sync for PublishErrorKind<E>where
E: Sync,
impl<E> Unpin for PublishErrorKind<E>where
E: Unpin,
impl<E> UnsafeUnpin for PublishErrorKind<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for PublishErrorKind<E>where
E: UnwindSafe,
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