#[non_exhaustive]pub enum CommitErrorKind {
ForeignPermit,
AdmissionClosed,
FrameTooLarge,
OwnerPoisoned,
}Expand description
Why a reserved operation could not be committed.
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.
ForeignPermit
The permit belongs to another machine or epoch.
AdmissionClosed
Admission closed after reservation and before commit.
FrameTooLarge
The frame’s cached retained footprint exceeds its reserved write-memory capacity.
OwnerPoisoned
A prior invariant failure poisoned this fixed-epoch owner.
Trait Implementations§
Source§impl Clone for CommitErrorKind
impl Clone for CommitErrorKind
impl Copy for CommitErrorKind
Source§impl Debug for CommitErrorKind
impl Debug for CommitErrorKind
impl Eq for CommitErrorKind
Source§impl PartialEq for CommitErrorKind
impl PartialEq for CommitErrorKind
impl StructuralPartialEq for CommitErrorKind
Auto Trait Implementations§
impl Freeze for CommitErrorKind
impl RefUnwindSafe for CommitErrorKind
impl Send for CommitErrorKind
impl Sync for CommitErrorKind
impl Unpin for CommitErrorKind
impl UnsafeUnpin for CommitErrorKind
impl UnwindSafe for CommitErrorKind
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