Enum libsecp256k1::PublicKeyFormat
source · pub enum PublicKeyFormat {
Compressed,
Full,
Raw,
}
Expand description
Format for public key parsing.
Variants§
Compressed
Compressed public key, 33 bytes.
Full
Full length public key, 65 bytes.
Raw
Raw public key, 64 bytes.
Auto Trait Implementations§
impl RefUnwindSafe for PublicKeyFormat
impl Send for PublicKeyFormat
impl Sync for PublicKeyFormat
impl Unpin for PublicKeyFormat
impl UnwindSafe for PublicKeyFormat
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