#[non_exhaustive]pub enum QueueLimit {
Frames,
Bytes,
FileCommands,
FileFinishWaits,
FileProbes,
}Expand description
Which bounded queue was full, carried by Error::QueueFull.
Its Display text is for diagnostics; match on the variant rather than
the text.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Frames
An Advanced QueuedSender already holds as many frames as its
QueueLimits::max_frames allows.
Bytes
The frames an Advanced QueuedSender retains leave too little room
within QueueLimits::max_bytes for this frame. The frame itself fits
the limit, so collecting completions makes room.
FileCommands
An async File handle already has as many commands waiting as its
AsyncFileOptions::command_capacity allows, and, for a request to
stop, another request to stop waits beyond them.
FileFinishWaits
An async recorder already has as many queued, registered or settling
finalization waits as AsyncFileOptions::command_capacity allows.
This budget is separate from ordinary command admission.
FileProbes
The 64 async File probes that may wait for the process’s probe thread are already waiting.
Trait Implementations§
Source§impl Clone for QueueLimit
impl Clone for QueueLimit
impl Copy for QueueLimit
Source§impl Debug for QueueLimit
impl Debug for QueueLimit
Source§impl Display for QueueLimit
impl Display for QueueLimit
impl Eq for QueueLimit
Source§impl Error for QueueLimit
impl Error for QueueLimit
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()