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