#[repr(C)]pub enum KnownSignerIdentity {
DHI = 0,
}Expand description
KnownSignerIdentity is an identifier for a special signer identity that is known to the implementation.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Variants§
DHI = 0
Trait Implementations§
Source§impl Clone for KnownSignerIdentity
impl Clone for KnownSignerIdentity
Source§fn clone(&self) -> KnownSignerIdentity
fn clone(&self) -> KnownSignerIdentity
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 KnownSignerIdentity
impl Debug for KnownSignerIdentity
Source§impl Default for KnownSignerIdentity
impl Default for KnownSignerIdentity
Source§fn default() -> KnownSignerIdentity
fn default() -> KnownSignerIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KnownSignerIdentity
impl<'de> Deserialize<'de> for KnownSignerIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<KnownSignerIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<KnownSignerIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for KnownSignerIdentity
impl Display for KnownSignerIdentity
Source§impl FromStr for KnownSignerIdentity
impl FromStr for KnownSignerIdentity
Source§impl Ord for KnownSignerIdentity
impl Ord for KnownSignerIdentity
Source§fn cmp(&self, other: &KnownSignerIdentity) -> Ordering
fn cmp(&self, other: &KnownSignerIdentity) -> 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 KnownSignerIdentity
impl PartialEq for KnownSignerIdentity
Source§impl PartialOrd for KnownSignerIdentity
impl PartialOrd for KnownSignerIdentity
Source§impl Serialize for KnownSignerIdentity
impl Serialize for KnownSignerIdentity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for KnownSignerIdentity
impl Eq for KnownSignerIdentity
impl StructuralPartialEq for KnownSignerIdentity
Auto Trait Implementations§
impl Freeze for KnownSignerIdentity
impl RefUnwindSafe for KnownSignerIdentity
impl Send for KnownSignerIdentity
impl Sync for KnownSignerIdentity
impl Unpin for KnownSignerIdentity
impl UnsafeUnpin for KnownSignerIdentity
impl UnwindSafe for KnownSignerIdentity
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