pub enum PipelineResult {
Success(Message),
ParseError(ParseError),
ValidationError(ValidationError),
Pending {
message: Message,
reason: PendingReason,
},
Buffered {
message: Message,
},
}Expand description
Top-level pipeline result (REQ-111).
Variants§
Success(Message)
ParseError(ParseError)
ValidationError(ValidationError)
Pending
Causal predecessor not yet in the local store (REQ-305).
Returned only under UnknownPredecessorPolicy::Reject. Senders may
retry once the predecessor arrives. The pipeline does not buffer; under
UnknownPredecessorPolicy::Buffer callers receive PipelineResult::Buffered
and are responsible for enqueuing the message into a PendingQueue.
Buffered
Causal predecessor unknown; caller should buffer for re-evaluation (REQ-305 Buffer policy).
Trait Implementations§
Source§impl Clone for PipelineResult
impl Clone for PipelineResult
Source§impl Debug for PipelineResult
impl Debug for PipelineResult
impl Eq for PipelineResult
Source§impl PartialEq for PipelineResult
impl PartialEq for PipelineResult
impl StructuralPartialEq for PipelineResult
Auto Trait Implementations§
impl Forget for PipelineResult
impl Freeze for PipelineResultwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
PhantomData<SExpr>: Freeze,
PhantomData<String>: Freeze,
*const Message is !null: Freeze,
PhantomData<Message>: Freeze,
&'static str: Freeze,
PhantomData<BlameEntry>: Freeze,
impl Move for PipelineResult
impl RefUnwindSafe for PipelineResult
impl Send for PipelineResult
impl Sync for PipelineResult
impl Unpin for PipelineResult
impl UnsafeUnpin for PipelineResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
PhantomData<SExpr>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const Message is !null: UnsafeUnpin,
PhantomData<Message>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<BlameEntry>: UnsafeUnpin,
impl UnwindSafe for PipelineResultwhere
RawVecInner: UnwindSafe,
BTreeMap<String, SetValZST>: UnwindSafe,
BoxRaw<Message>: UnwindSafe,
&'static str: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.