pub enum ProcessGuardCreateError {
InsufficientPermissions,
IsDirectory,
InvalidDirectory,
AlreadyExists,
NoSpaceLeft,
ReadOnlyFilesystem,
ContractViolation,
Interrupt,
InvalidCleanerPathName,
UnknownError(i32),
}Expand description
Defines all errors that can occur when a new ProcessGuard is created.
Variants§
InsufficientPermissions
IsDirectory
InvalidDirectory
AlreadyExists
NoSpaceLeft
ReadOnlyFilesystem
ContractViolation
Interrupt
InvalidCleanerPathName
UnknownError(i32)
Trait Implementations§
Source§impl Clone for ProcessGuardCreateError
impl Clone for ProcessGuardCreateError
Source§fn clone(&self) -> ProcessGuardCreateError
fn clone(&self) -> ProcessGuardCreateError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessGuardCreateError
impl Debug for ProcessGuardCreateError
Source§impl PartialEq for ProcessGuardCreateError
impl PartialEq for ProcessGuardCreateError
impl Copy for ProcessGuardCreateError
impl Eq for ProcessGuardCreateError
impl StructuralPartialEq for ProcessGuardCreateError
Auto Trait Implementations§
impl Freeze for ProcessGuardCreateError
impl RefUnwindSafe for ProcessGuardCreateError
impl Send for ProcessGuardCreateError
impl Sync for ProcessGuardCreateError
impl Unpin for ProcessGuardCreateError
impl UnwindSafe for ProcessGuardCreateError
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