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