pub struct ResultCode(/* private fields */);Implementations§
Source§impl ResultCode
impl ResultCode
Sourcepub const Ok: Self
pub const Ok: Self
Indicates that the last operation was successful or operation is in progress.
Sourcepub const ErrProduct: Self
pub const ErrProduct: Self
Indicates that the AC is not for the current product/version.
Sourcepub const ErrProductPh2: Self
pub const ErrProductPh2: Self
Indicates that the AC in the second phase is not for the current product/version.
Sourcepub const ErrTransfer: Self
pub const ErrTransfer: Self
Indicates that the AC is corrupted.
Sourcepub const ErrTransferPh2: Self
pub const ErrTransferPh2: Self
Indicates that the AC in the second phase is corrupted.
Sourcepub const ErrAuthPh2: Self
pub const ErrAuthPh2: Self
Indicates that the authentication of the provided AC failed in the second phase.
Sourcepub const ErrPufQuality: Self
pub const ErrPufQuality: Self
Indicates that the SRAM PUF quality verification fails.
Sourcepub const ErrContext: Self
pub const ErrContext: Self
Indicates that the incorrect or unsupported context is provided.
Sourcepub const ErrDestination: Self
pub const ErrDestination: Self
Indicates that a data destination was set that is not allowed according to other settings and the current PUF state.
Source§impl ResultCode
impl ResultCode
Trait Implementations§
Source§impl Clone for ResultCode
impl Clone for ResultCode
Source§fn clone(&self) -> ResultCode
fn clone(&self) -> ResultCode
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 ResultCode
impl Debug for ResultCode
Source§impl From<ResultCode> for u8
impl From<ResultCode> for u8
Source§fn from(val: ResultCode) -> u8
fn from(val: ResultCode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ResultCode
impl From<u8> for ResultCode
Source§fn from(val: u8) -> ResultCode
fn from(val: u8) -> ResultCode
Converts to this type from the input type.
Source§impl Ord for ResultCode
impl Ord for ResultCode
Source§fn cmp(&self, other: &ResultCode) -> Ordering
fn cmp(&self, other: &ResultCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResultCode
impl PartialEq for ResultCode
Source§impl PartialOrd for ResultCode
impl PartialOrd for ResultCode
impl Copy for ResultCode
impl Eq for ResultCode
impl StructuralPartialEq for ResultCode
Auto Trait Implementations§
impl Freeze for ResultCode
impl RefUnwindSafe for ResultCode
impl Send for ResultCode
impl Sync for ResultCode
impl Unpin for ResultCode
impl UnwindSafe for ResultCode
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