pub enum EnclavePanic {
NoDebugBuf,
DebugStr(String),
DebugBuf(Vec<u8>),
}Variants§
NoDebugBuf
The first byte of the debug buffer was 0
DebugStr(String)
The debug buffer could be interpreted as a zero-terminated UTF-8 string
DebugBuf(Vec<u8>)
The first byte of the debug buffer was not 0, but it was also not a zero-terminated UTF-8 string
Trait Implementations§
Source§impl Debug for EnclavePanic
impl Debug for EnclavePanic
Source§impl Display for EnclavePanic
impl Display for EnclavePanic
Source§impl Error for EnclavePanic
impl Error for EnclavePanic
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Forget for EnclavePanic
impl Freeze for EnclavePanic
impl RefUnwindSafe for EnclavePanic
impl Send for EnclavePanic
impl Sync for EnclavePanic
impl Unpin for EnclavePanic
impl UnsafeUnpin for EnclavePanic
impl UnwindSafe for EnclavePanic
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