pub enum InitError {
TdxVendorIdError,
TdxCpuLeafIdError,
TdxGetVpInfoError(TdCallError),
}
Variants§
Trait Implementations§
source§impl From<TdCallError> for InitError
impl From<TdCallError> for InitError
source§fn from(error: TdCallError) -> Self
fn from(error: TdCallError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InitError
impl RefUnwindSafe for InitError
impl Send for InitError
impl Sync for InitError
impl Unpin for InitError
impl UnwindSafe for InitError
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