#[repr(u8)]pub enum ICACResponseStatus {
Ok = 0,
Invalidpublickey = 1,
Invalidicac = 2,
}Variants§
Ok = 0
No error
Invalidpublickey = 1
Public Key in the ICAC is invalid
Invalidicac = 2
ICAC chain validation failed / ICAC DN Encoding rules verification failed
Implementations§
Trait Implementations§
Source§impl Clone for ICACResponseStatus
impl Clone for ICACResponseStatus
Source§fn clone(&self) -> ICACResponseStatus
fn clone(&self) -> ICACResponseStatus
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 ICACResponseStatus
impl Debug for ICACResponseStatus
Source§impl<'de> Deserialize<'de> for ICACResponseStatus
impl<'de> Deserialize<'de> for ICACResponseStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ICACResponseStatus> for u8
impl From<ICACResponseStatus> for u8
Source§fn from(val: ICACResponseStatus) -> Self
fn from(val: ICACResponseStatus) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ICACResponseStatus
impl PartialEq for ICACResponseStatus
Source§impl Serialize for ICACResponseStatus
impl Serialize for ICACResponseStatus
impl Copy for ICACResponseStatus
impl Eq for ICACResponseStatus
impl StructuralPartialEq for ICACResponseStatus
Auto Trait Implementations§
impl Freeze for ICACResponseStatus
impl RefUnwindSafe for ICACResponseStatus
impl Send for ICACResponseStatus
impl Sync for ICACResponseStatus
impl Unpin for ICACResponseStatus
impl UnwindSafe for ICACResponseStatus
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