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 ERR_PRODUCT: Self
pub const ERR_PRODUCT: Self
Indicates that the AC is not for the current product/version.
Sourcepub const ERR_PRODUCT_PH2: Self
pub const ERR_PRODUCT_PH2: Self
Indicates that the AC in the second phase is not for the current product/version.
Sourcepub const ERR_TRANSFER: Self
pub const ERR_TRANSFER: Self
Indicates that the AC is corrupted.
Sourcepub const ERR_TRANSFER_PH2: Self
pub const ERR_TRANSFER_PH2: Self
Indicates that the AC in the second phase is corrupted.
Sourcepub const ERR_AUTH_PH2: Self
pub const ERR_AUTH_PH2: Self
Indicates that the authentication of the provided AC failed in the second phase.
Sourcepub const ERR_PUF_QUALITY: Self
pub const ERR_PUF_QUALITY: Self
Indicates that the SRAM PUF quality verification fails.
Sourcepub const ERR_CONTEXT: Self
pub const ERR_CONTEXT: Self
Indicates that the incorrect or unsupported context is provided.
Sourcepub const ERR_DESTINATION: Self
pub const ERR_DESTINATION: 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