pub enum CursorEpisodeBuildError {
DuplicateParticipant {
participant_id: ParticipantId,
},
ObserverBeyondHighWatermark {
observer_progress: DeliverySeq,
candidate_high_watermark: DeliverySeq,
},
CursorBeyondHighWatermark {
participant_id: ParticipantId,
cursor: DeliverySeq,
candidate_high_watermark: DeliverySeq,
},
FloorBeyondRetainedEnd {
current_floor: u128,
retained_end: u128,
},
CapacityFloorBelowBase {
cap_floor: u128,
base_floor: u128,
},
CapacityFloorBeyondObserver {
cap_floor: u128,
observer_limit: u128,
},
}Expand description
Construction failure for a participant-scoped nonzero-debt episode.
Variants§
DuplicateParticipant
Two cursor states name the same permanent participant identifier/index.
Fields
§
participant_id: ParticipantIdRepeated permanent participant identifier and index.
ObserverBeyondHighWatermark
Hard observer progress cannot be beyond the candidate watermark.
Fields
§
observer_progress: DeliverySeqDurable observer progress.
§
candidate_high_watermark: DeliverySeqCandidate high watermark H'.
CursorBeyondHighWatermark
A bound cursor cannot acknowledge beyond the candidate watermark.
Fields
§
participant_id: ParticipantIdPermanent participant identifier/index.
§
cursor: DeliverySeqDurable participant cursor.
§
candidate_high_watermark: DeliverySeqCandidate high watermark H'.
FloorBeyondRetainedEnd
The supplied first-retained floor is beyond checked H' + 1.
Fields
CapacityFloorBelowBase
The append-free ack envelope selected a floor below the actual base.
Fields
CapacityFloorBeyondObserver
The supplied capacity floor would overtake hard observer retention.
Trait Implementations§
Source§impl Clone for CursorEpisodeBuildError
impl Clone for CursorEpisodeBuildError
Source§fn clone(&self) -> CursorEpisodeBuildError
fn clone(&self) -> CursorEpisodeBuildError
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 CursorEpisodeBuildError
Source§impl Debug for CursorEpisodeBuildError
impl Debug for CursorEpisodeBuildError
impl Eq for CursorEpisodeBuildError
Source§impl PartialEq for CursorEpisodeBuildError
impl PartialEq for CursorEpisodeBuildError
impl StructuralPartialEq for CursorEpisodeBuildError
Auto Trait Implementations§
impl Freeze for CursorEpisodeBuildError
impl RefUnwindSafe for CursorEpisodeBuildError
impl Send for CursorEpisodeBuildError
impl Sync for CursorEpisodeBuildError
impl Unpin for CursorEpisodeBuildError
impl UnsafeUnpin for CursorEpisodeBuildError
impl UnwindSafe for CursorEpisodeBuildError
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