pub trait CompressedHex: Sized {
// Required methods
fn to_compressed_hex(&self) -> String;
fn from_compressed_hex(hex: &str) -> Option<Self>;
fn to_uncompressed_hex(&self) -> String;
fn from_uncompressed_hex(hex: &str) -> Option<Self>;
}Required Methods§
Sourcefn to_compressed_hex(&self) -> String
fn to_compressed_hex(&self) -> String
Convert the point to compressed hex.
Sourcefn from_compressed_hex(hex: &str) -> Option<Self>
fn from_compressed_hex(hex: &str) -> Option<Self>
Convert the point from compressed hex.
Sourcefn to_uncompressed_hex(&self) -> String
fn to_uncompressed_hex(&self) -> String
Convert the point to uncompressed hex.
Sourcefn from_uncompressed_hex(hex: &str) -> Option<Self>
fn from_uncompressed_hex(hex: &str) -> Option<Self>
Convert the point from uncompressed hex.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.