Enum TdispGuestOperationError
pub enum TdispGuestOperationError {
Unknown,
Success,
InvalidGuestProtocolRequest,
InvalidDeviceState,
InvalidGuestUnbindReason,
InvalidGuestCommandId,
NotImplemented,
HostFailedToProcessCommand,
InvalidGuestAttestationReportState,
InvalidGuestAttestationReportType,
}Expand description
Error returned by TDISP operations dispatched by the guest.
Variants§
Unknown
Success
InvalidGuestProtocolRequest
InvalidDeviceState
InvalidGuestUnbindReason
InvalidGuestCommandId
NotImplemented
HostFailedToProcessCommand
InvalidGuestAttestationReportState
InvalidGuestAttestationReportType
Trait Implementations§
§impl Clone for TdispGuestOperationError
impl Clone for TdispGuestOperationError
§fn clone(&self) -> TdispGuestOperationError
fn clone(&self) -> TdispGuestOperationError
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 more§impl Debug for TdispGuestOperationError
impl Debug for TdispGuestOperationError
§impl Display for TdispGuestOperationError
impl Display for TdispGuestOperationError
§impl Error for TdispGuestOperationError
impl Error for TdispGuestOperationError
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()
§impl From<TdispGuestOperationError> for TdispGuestOperationErrorCode
impl From<TdispGuestOperationError> for TdispGuestOperationErrorCode
§fn from(err: TdispGuestOperationError) -> TdispGuestOperationErrorCode
fn from(err: TdispGuestOperationError) -> TdispGuestOperationErrorCode
Converts to this type from the input type.
§impl From<TdispGuestOperationErrorCode> for TdispGuestOperationError
impl From<TdispGuestOperationErrorCode> for TdispGuestOperationError
§fn from(err_code: TdispGuestOperationErrorCode) -> TdispGuestOperationError
fn from(err_code: TdispGuestOperationErrorCode) -> TdispGuestOperationError
Converts to this type from the input type.
impl Copy for TdispGuestOperationError
Auto Trait Implementations§
impl Freeze for TdispGuestOperationError
impl RefUnwindSafe for TdispGuestOperationError
impl Send for TdispGuestOperationError
impl Sync for TdispGuestOperationError
impl Unpin for TdispGuestOperationError
impl UnwindSafe for TdispGuestOperationError
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