#[non_exhaustive]pub enum BeginFailure {
SubmissionRingFull,
CompletionRingFull,
Abandoned,
TokenCapture,
BufferAllocation,
}Expand description
Why an enumeration was not admitted.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
SubmissionRingFull
The submission ring had no room for ordinary traffic.
Reserved cancellation and abandonment messages are unaffected: this is backpressure on starting work, applied where a caller can respond to it.
CompletionRingFull
The completion ring could not reserve the terminal slot this enumeration would owe.
Reservations never take the ring’s last slot, so this is reached when the session is already carrying as many enumerations as its completion ring can account for.
Abandoned
The receiver is gone, so the session no longer starts anything.
TokenCapture
The caller’s security context could not be captured.
BufferAllocation
The enumeration’s fixed native buffer could not be allocated.
Reported rather than aborting the process, which is what the ordinary growable-vector path would do.
Trait Implementations§
Source§impl Clone for BeginFailure
impl Clone for BeginFailure
Source§fn clone(&self) -> BeginFailure
fn clone(&self) -> BeginFailure
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more