pub enum CreateError {
Show 13 variants
Plan(Config),
Allocation(Error),
Queue(Error),
Buffer(CreateError),
RingLayout(Layout),
ReactorCloexec(Cloexec),
Kernel {
operation: IoOperation,
cause: Kernel,
},
Mapping(Mapping),
Cleanup(Cleanup),
Removal(Removal),
Release(Release),
Capability(Capability),
Probe(ProbeError),
}Variants§
Plan(Config)
Allocation(Error)
Queue(Error)
Buffer(CreateError)
RingLayout(Layout)
ReactorCloexec(Cloexec)
Kernel
Mapping(Mapping)
Cleanup(Cleanup)
Removal(Removal)
Release(Release)
Capability(Capability)
Probe(ProbeError)
Implementations§
Source§impl CreateError
impl CreateError
pub fn kind(&self) -> CreateKind<'_>
Trait Implementations§
Source§impl From<Error> for CreateError
impl From<Error> for CreateError
Source§impl From<Exhausted> for CreateError
impl From<Exhausted> for CreateError
Source§impl From<Failure> for CreateError
impl From<Failure> for CreateError
Auto Trait Implementations§
impl !Send for CreateError
impl !Sync for CreateError
impl Freeze for CreateError
impl RefUnwindSafe for CreateError
impl Unpin for CreateError
impl UnsafeUnpin for CreateError
impl UnwindSafe for CreateError
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