pub enum Error {
InvalidPath(NulError),
InstallJamb(Error),
AttachDoor(Error),
OpenDoor(Error),
DoorCall(c_int),
CreateDoor(Error),
}
Expand description
Door problems.
Two things can go wrong with a door – its path can be invalid, or a system
call can fail. If a system call fails, one of this enum’s variants will be
returned corresponding to the failed system call. It will contain the value
of errno
associated with the failed system call.
Variants§
InvalidPath(NulError)
InstallJamb(Error)
AttachDoor(Error)
OpenDoor(Error)
DoorCall(c_int)
CreateDoor(Error)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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