pub enum DeliveryEvidence {
NotStarted,
Unknown,
Written,
ResponseConfirmed,
}Expand description
Strongest delivery evidence confirmed across write attempts.
Variants§
NotStarted
No attempt has started writing business data to the transport.
Unknown
Data may have reached the peer, but delivery is unconfirmed.
Retries do not reset this to NotStarted; retrying a non-idempotent operation may be unsafe.
Written
Local WebSocket write completed, without peer-response confirmation.
ResponseConfirmed
A matching final response confirms delivery, possibly before local flush completion.
Trait Implementations§
Source§impl Clone for DeliveryEvidence
impl Clone for DeliveryEvidence
impl Copy for DeliveryEvidence
Source§impl Debug for DeliveryEvidence
impl Debug for DeliveryEvidence
impl Eq for DeliveryEvidence
Source§impl PartialEq for DeliveryEvidence
impl PartialEq for DeliveryEvidence
impl StructuralPartialEq for DeliveryEvidence
Auto Trait Implementations§
impl Freeze for DeliveryEvidence
impl RefUnwindSafe for DeliveryEvidence
impl Send for DeliveryEvidence
impl Sync for DeliveryEvidence
impl Unpin for DeliveryEvidence
impl UnsafeUnpin for DeliveryEvidence
impl UnwindSafe for DeliveryEvidence
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.