pub struct TctiReturnCode { /* private fields */ }Expand description
Enum representing the TSS base return code constants.
Implementations§
Source§impl TctiReturnCode
impl TctiReturnCode
Sourcepub const fn base_error(&self) -> BaseError
pub const fn base_error(&self) -> BaseError
Returns the BaseError associated with the TCTI return code.
Trait Implementations§
Source§impl Clone for TctiReturnCode
impl Clone for TctiReturnCode
Source§fn clone(&self) -> TctiReturnCode
fn clone(&self) -> TctiReturnCode
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 Debug for TctiReturnCode
impl Debug for TctiReturnCode
Source§impl Display for TctiReturnCode
impl Display for TctiReturnCode
Source§impl Error for TctiReturnCode
impl Error for TctiReturnCode
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<TctiReturnCode> for BaseError
impl From<TctiReturnCode> for BaseError
Source§fn from(tcti_return_code: TctiReturnCode) -> Self
fn from(tcti_return_code: TctiReturnCode) -> Self
Converts to this type from the input type.
Source§impl From<TctiReturnCode> for BaseReturnCode
impl From<TctiReturnCode> for BaseReturnCode
Source§fn from(tcti_return_code: TctiReturnCode) -> Self
fn from(tcti_return_code: TctiReturnCode) -> Self
Converts to this type from the input type.
Source§impl From<TctiReturnCode> for u16
impl From<TctiReturnCode> for u16
Source§fn from(tcti_error_code: TctiReturnCode) -> Self
fn from(tcti_error_code: TctiReturnCode) -> Self
Converts to this type from the input type.
Source§impl Hash for TctiReturnCode
impl Hash for TctiReturnCode
Source§impl PartialEq for TctiReturnCode
impl PartialEq for TctiReturnCode
Source§impl TryFrom<BaseError> for TctiReturnCode
impl TryFrom<BaseError> for TctiReturnCode
Source§impl TryFrom<BaseReturnCode> for TctiReturnCode
impl TryFrom<BaseReturnCode> for TctiReturnCode
Source§impl TryFrom<u16> for TctiReturnCode
impl TryFrom<u16> for TctiReturnCode
impl Copy for TctiReturnCode
impl Eq for TctiReturnCode
impl StructuralPartialEq for TctiReturnCode
Auto Trait Implementations§
impl Freeze for TctiReturnCode
impl RefUnwindSafe for TctiReturnCode
impl Send for TctiReturnCode
impl Sync for TctiReturnCode
impl Unpin for TctiReturnCode
impl UnsafeUnpin for TctiReturnCode
impl UnwindSafe for TctiReturnCode
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