pub struct LossyWithoutBackpressure;Expand description
Lossy stream delivery marker that never applies backpressure to the child.
Mechanism: The reader task keeps draining the child’s pipe regardless of consumer pace. When a subscriber’s buffer fills, the chunk is dropped for that subscriber rather than pausing the child.
Cost: Slow active consumers may observe gaps or dropped output. Line-aware consumers discard the in-progress partial line and resync at the next newline rather than splicing across the gap.
Trait Implementations§
Source§impl Clone for LossyWithoutBackpressure
impl Clone for LossyWithoutBackpressure
Source§fn clone(&self) -> LossyWithoutBackpressure
fn clone(&self) -> LossyWithoutBackpressure
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 moreSource§impl Debug for LossyWithoutBackpressure
impl Debug for LossyWithoutBackpressure
Source§impl Delivery for LossyWithoutBackpressure
impl Delivery for LossyWithoutBackpressure
Source§fn guarantee(self) -> DeliveryGuarantee
fn guarantee(self) -> DeliveryGuarantee
Returns the runtime delivery guarantee represented by this marker.
Source§impl PartialEq for LossyWithoutBackpressure
impl PartialEq for LossyWithoutBackpressure
Source§fn eq(&self, other: &LossyWithoutBackpressure) -> bool
fn eq(&self, other: &LossyWithoutBackpressure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LossyWithoutBackpressure
impl Eq for LossyWithoutBackpressure
impl StructuralPartialEq for LossyWithoutBackpressure
Auto Trait Implementations§
impl Freeze for LossyWithoutBackpressure
impl RefUnwindSafe for LossyWithoutBackpressure
impl Send for LossyWithoutBackpressure
impl Sync for LossyWithoutBackpressure
impl Unpin for LossyWithoutBackpressure
impl UnsafeUnpin for LossyWithoutBackpressure
impl UnwindSafe for LossyWithoutBackpressure
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