pub enum DeliveryGuarantee {
BestEffort,
ReliableForActiveSubscribers,
}Expand description
Runtime delivery behavior used by typed stream modes.
Variants§
BestEffort
Keep reading output and emit gaps or drop output for slow consumers when bounded buffers overflow.
ReliableForActiveSubscribers
Wait for active consumers before reading more output when bounded buffers are full.
Trait Implementations§
Source§impl Clone for DeliveryGuarantee
impl Clone for DeliveryGuarantee
Source§fn clone(&self) -> DeliveryGuarantee
fn clone(&self) -> DeliveryGuarantee
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeliveryGuarantee
impl Debug for DeliveryGuarantee
Source§impl PartialEq for DeliveryGuarantee
impl PartialEq for DeliveryGuarantee
impl Copy for DeliveryGuarantee
impl Eq for DeliveryGuarantee
impl StructuralPartialEq for DeliveryGuarantee
Auto Trait Implementations§
impl Freeze for DeliveryGuarantee
impl RefUnwindSafe for DeliveryGuarantee
impl Send for DeliveryGuarantee
impl Sync for DeliveryGuarantee
impl Unpin for DeliveryGuarantee
impl UnsafeUnpin for DeliveryGuarantee
impl UnwindSafe for DeliveryGuarantee
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