pub enum PushError {
Full,
LifoFull,
}Expand description
Outcome of SharedDequeLoh::push / SharedDequeLoh::flush /
SharedDequeLoh::publish_batch.
Variants§
Full
Ring at capacity; consumer hasn’t caught up. Caller may spin, back off, or report upstream pressure.
LifoFull
Owner-side LIFO at its soft cap; caller must flush() or
back off before pushing more.
Trait Implementations§
impl Copy for PushError
impl Eq for PushError
impl StructuralPartialEq for PushError
Auto Trait Implementations§
impl Freeze for PushError
impl RefUnwindSafe for PushError
impl Send for PushError
impl Sync for PushError
impl Unpin for PushError
impl UnsafeUnpin for PushError
impl UnwindSafe for PushError
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