pub enum CreateKind<'a> {
Show 13 variants
Plan(&'a Config),
Allocation(&'a Error),
Queue(&'a Error),
Buffer(&'a CreateError),
RingLayout(&'a Layout),
ReactorCloexec(&'a Cloexec),
Kernel {
operation: &'a IoOperation,
cause: &'a Kernel,
},
Mapping(&'a Mapping),
Cleanup {
primary: Failure,
cleanup: Option<Failure>,
},
Removal(&'a Removal),
Release {
primary: Removal,
cleanup: Option<Mapping>,
},
Capability(&'a Capability),
Probe(&'a ProbeError),
}Expand description
Exact construction diagnostics borrowed without consuming cleanup authority.
Variants§
Plan(&'a Config)
Allocation(&'a Error)
Queue(&'a Error)
Buffer(&'a CreateError)
RingLayout(&'a Layout)
ReactorCloexec(&'a Cloexec)
Kernel
Mapping(&'a Mapping)
Cleanup
Removal(&'a Removal)
Release
Capability(&'a Capability)
Probe(&'a ProbeError)
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Send for CreateKind<'a>
impl<'a> !Sync for CreateKind<'a>
impl<'a> Forget for CreateKind<'a>
impl<'a> Freeze for CreateKind<'a>
impl<'a> RefUnwindSafe for CreateKind<'a>
impl<'a> Unpin for CreateKind<'a>
impl<'a> UnsafeUnpin for CreateKind<'a>
impl<'a> UnwindSafe for CreateKind<'a>
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