pub struct TpmFormatZeroWarningResponseCode { /* private fields */ }Expand description
Type representing the TPM format zero warning response code.
Implementations§
Source§impl TpmFormatZeroWarningResponseCode
impl TpmFormatZeroWarningResponseCode
Sourcepub const fn error_number(&self) -> TpmFormatZeroWarning
pub const fn error_number(&self) -> TpmFormatZeroWarning
Returns the error number associated with the TPM format zero warning.
Trait Implementations§
Source§impl Clone for TpmFormatZeroWarningResponseCode
impl Clone for TpmFormatZeroWarningResponseCode
Source§fn clone(&self) -> TpmFormatZeroWarningResponseCode
fn clone(&self) -> TpmFormatZeroWarningResponseCode
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 moreSource§impl Error for TpmFormatZeroWarningResponseCode
impl Error for TpmFormatZeroWarningResponseCode
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()
Source§impl From<TpmFormatZeroWarning> for TpmFormatZeroWarningResponseCode
impl From<TpmFormatZeroWarning> for TpmFormatZeroWarningResponseCode
Source§fn from(tpm_format_zero_warning: TpmFormatZeroWarning) -> Self
fn from(tpm_format_zero_warning: TpmFormatZeroWarning) -> Self
Converts to this type from the input type.
Source§impl From<TpmFormatZeroWarningResponseCode> for TpmFormatZeroWarning
impl From<TpmFormatZeroWarningResponseCode> for TpmFormatZeroWarning
Source§fn from(
tpm_format_zero_warning_response_code: TpmFormatZeroWarningResponseCode,
) -> Self
fn from( tpm_format_zero_warning_response_code: TpmFormatZeroWarningResponseCode, ) -> Self
Converts to this type from the input type.
Source§impl From<TpmFormatZeroWarningResponseCode> for u8
impl From<TpmFormatZeroWarningResponseCode> for u8
Source§fn from(
tpm_format_zero_warning_response_code: TpmFormatZeroWarningResponseCode,
) -> u8
fn from( tpm_format_zero_warning_response_code: TpmFormatZeroWarningResponseCode, ) -> u8
Converts to this type from the input type.
Source§impl PartialEq for TpmFormatZeroWarningResponseCode
impl PartialEq for TpmFormatZeroWarningResponseCode
Source§fn eq(&self, other: &TpmFormatZeroWarningResponseCode) -> bool
fn eq(&self, other: &TpmFormatZeroWarningResponseCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u8> for TpmFormatZeroWarningResponseCode
impl TryFrom<u8> for TpmFormatZeroWarningResponseCode
impl Copy for TpmFormatZeroWarningResponseCode
impl Eq for TpmFormatZeroWarningResponseCode
impl StructuralPartialEq for TpmFormatZeroWarningResponseCode
Auto Trait Implementations§
impl Freeze for TpmFormatZeroWarningResponseCode
impl RefUnwindSafe for TpmFormatZeroWarningResponseCode
impl Send for TpmFormatZeroWarningResponseCode
impl Sync for TpmFormatZeroWarningResponseCode
impl Unpin for TpmFormatZeroWarningResponseCode
impl UnsafeUnpin for TpmFormatZeroWarningResponseCode
impl UnwindSafe for TpmFormatZeroWarningResponseCode
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