pub enum Delivery<T> {
Processed(T),
Duplicate,
}Expand description
What once did with a delivery.
Variants§
Processed(T)
The effect ran (first delivery, or a retry after a failure) and returned this.
Duplicate
Already processed, or being processed by another invocation: nothing ran.
Trait Implementations§
impl<T: Eq> Eq for Delivery<T>
Source§impl<T: PartialEq> PartialEq for Delivery<T>
impl<T: PartialEq> PartialEq for Delivery<T>
impl<T: PartialEq> StructuralPartialEq for Delivery<T>
Auto Trait Implementations§
impl<T> Freeze for Delivery<T>where
T: Freeze,
impl<T> RefUnwindSafe for Delivery<T>where
T: RefUnwindSafe,
impl<T> Send for Delivery<T>where
T: Send,
impl<T> Sync for Delivery<T>where
T: Sync,
impl<T> Unpin for Delivery<T>where
T: Unpin,
impl<T> UnsafeUnpin for Delivery<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Delivery<T>where
T: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.