pub enum AcknowledgementError {
WrongTarget,
StaleGeneration,
WrongSlot,
UnpublishedSequence,
NonMonotonic {
current: u64,
next: u64,
},
}Expand description
Bounded acknowledgement failures.
Variants§
WrongTarget
Slot observation targets another route.
StaleGeneration
Slot observation belongs to another generation.
WrongSlot
Slot observation belongs to another routed slot.
UnpublishedSequence
Sequence zero is unpublished.
NonMonotonic
Acknowledgement moved backwards.
Trait Implementations§
Source§impl Clone for AcknowledgementError
impl Clone for AcknowledgementError
Source§fn clone(&self) -> AcknowledgementError
fn clone(&self) -> AcknowledgementError
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 AcknowledgementError
Source§impl Debug for AcknowledgementError
impl Debug for AcknowledgementError
Source§impl Display for AcknowledgementError
impl Display for AcknowledgementError
impl Eq for AcknowledgementError
Source§impl Error for AcknowledgementError
Available on crate feature std only.
impl Error for AcknowledgementError
Available on crate feature
std only.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 PartialEq for AcknowledgementError
impl PartialEq for AcknowledgementError
impl StructuralPartialEq for AcknowledgementError
Auto Trait Implementations§
impl Freeze for AcknowledgementError
impl RefUnwindSafe for AcknowledgementError
impl Send for AcknowledgementError
impl Sync for AcknowledgementError
impl Unpin for AcknowledgementError
impl UnsafeUnpin for AcknowledgementError
impl UnwindSafe for AcknowledgementError
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