pub enum LaunchError {
Ioctl(IoctlError),
MemInit(MemInitError),
CidInvalid,
}Expand description
Error that may occur during the launch process.
Variants§
Ioctl(IoctlError)
/dev/nitro_enclaves ioctl error.
MemInit(MemInitError)
Memory initialization error.
CidInvalid
Error occuring when randomly-generating an enclave CID.
Implementations§
Source§impl LaunchError
impl LaunchError
Sourcepub fn ioctl_err_from_errno() -> Self
pub fn ioctl_err_from_errno() -> Self
Error on ioctl, return an IoctlError from errno.
Trait Implementations§
Source§impl Debug for LaunchError
impl Debug for LaunchError
Source§impl Display for LaunchError
impl Display for LaunchError
Auto Trait Implementations§
impl Freeze for LaunchError
impl !RefUnwindSafe for LaunchError
impl Send for LaunchError
impl Sync for LaunchError
impl Unpin for LaunchError
impl !UnwindSafe for LaunchError
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