#[non_exhaustive]pub enum SessionFailure {
SubmissionCapacityTooSmall,
CompletionCapacityTooSmall,
WorkObject,
}Expand description
Why a session could not be built.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SubmissionCapacityTooSmall
The submission ring could not carry one enumeration.
It needs room for the session’s standing abandon message, one enumeration’s reserved cancellation, and one ordinary begin.
CompletionCapacityTooSmall
The completion ring could not carry one enumeration.
It needs room for one reserved terminal outcome and one entry, and reservations never take the last slot.
WorkObject
Windows refused to create the servicer’s thread-pool work object.
Trait Implementations§
Source§impl Clone for SessionFailure
impl Clone for SessionFailure
Source§fn clone(&self) -> SessionFailure
fn clone(&self) -> SessionFailure
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 moreimpl Copy for SessionFailure
Source§impl Debug for SessionFailure
impl Debug for SessionFailure
impl Eq for SessionFailure
Source§impl Hash for SessionFailure
impl Hash for SessionFailure
Source§impl PartialEq for SessionFailure
impl PartialEq for SessionFailure
impl StructuralPartialEq for SessionFailure
Auto Trait Implementations§
impl Freeze for SessionFailure
impl RefUnwindSafe for SessionFailure
impl Send for SessionFailure
impl Sync for SessionFailure
impl Unpin for SessionFailure
impl UnsafeUnpin for SessionFailure
impl UnwindSafe for SessionFailure
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