Skip to main content

LiveQueuePush

Type Alias LiveQueuePush 

Source
pub type LiveQueuePush = BackpressureOutcome;
Expand description

Result of pushing into a bounded live queue.

Aliased Type§

pub enum LiveQueuePush {
    Accepted,
    DroppedNewest,
    DroppedOldest,
    Blocked,
    TimedOut,
    Rejected,
    Closed,
}

Variants§

§

Accepted

The packet was buffered.

§

DroppedNewest

The buffer was full and this newest packet was dropped.

§

DroppedOldest

The buffer was full and the oldest buffered packet was dropped to admit this one.

§

Blocked

The producer is blocked until capacity frees up.

§

TimedOut

The offer timed out before capacity freed up.

§

Rejected

The offer was rejected by policy.

§

Closed

The stream is closed and accepts no further packets.