pub struct ReliableWithBackpressure;Expand description
Reliable stream delivery marker that applies backpressure to the child to keep active subscribers gap-free.
Mechanism: When an active subscriber’s buffer is full, the reader task waits before reading more from the child’s pipe. The kernel pipe then fills and the child’s next write blocks. This is the cost paid for reliability.
Scope: The guarantee applies only to subscribers that are currently attached when each chunk is produced. Subscribers that attach later do not retroactively receive earlier chunks from this delivery policy; that is what the replay axis is for.
Trait Implementations§
Source§impl Clone for ReliableWithBackpressure
impl Clone for ReliableWithBackpressure
Source§fn clone(&self) -> ReliableWithBackpressure
fn clone(&self) -> ReliableWithBackpressure
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 ReliableWithBackpressure
impl Debug for ReliableWithBackpressure
Source§impl Delivery for ReliableWithBackpressure
impl Delivery for ReliableWithBackpressure
Source§fn guarantee(self) -> DeliveryGuarantee
fn guarantee(self) -> DeliveryGuarantee
Returns the runtime delivery guarantee represented by this marker.
Source§impl PartialEq for ReliableWithBackpressure
impl PartialEq for ReliableWithBackpressure
Source§fn eq(&self, other: &ReliableWithBackpressure) -> bool
fn eq(&self, other: &ReliableWithBackpressure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ReliableWithBackpressure
impl Eq for ReliableWithBackpressure
impl StructuralPartialEq for ReliableWithBackpressure
Auto Trait Implementations§
impl Freeze for ReliableWithBackpressure
impl RefUnwindSafe for ReliableWithBackpressure
impl Send for ReliableWithBackpressure
impl Sync for ReliableWithBackpressure
impl Unpin for ReliableWithBackpressure
impl UnsafeUnpin for ReliableWithBackpressure
impl UnwindSafe for ReliableWithBackpressure
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