Enum secp256k1::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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more