Enum ckb_network::PublicKey [−]
Expand description
Public Key
Variants
Secp256k1(Vec<u8, Global>)
Secp256k1
Implementations
impl PublicKey
impl PublicKey
Get inner data
Get inner data
Creates a public key directly from a slice
pub fn encode(self) -> Bytes
pub fn encode(self) -> Bytes
Encode with molecule
Trait Implementations
impl PartialOrd<PublicKey> for PublicKey
impl PartialOrd<PublicKey> for PublicKey
pub fn partial_cmp(&self, other: &PublicKey) -> Option<Ordering>
pub fn partial_cmp(&self, other: &PublicKey) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
impl StructuralEq for PublicKey
impl StructuralPartialEq for PublicKey
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more
