pub trait GenericUncompressedEncodable<const N: usize>: GenericCurveAffine {
// Required methods
fn into_uncompressed(&self) -> EncodingBytes<Self, N>;
fn from_uncompressed(
encoding: EncodingBytes<Self, N>,
) -> Result<Self, GroupDecodingError>;
}
Required Methods§
Sourcefn into_uncompressed(&self) -> EncodingBytes<Self, N>
fn into_uncompressed(&self) -> EncodingBytes<Self, N>
Converts this element into its uncompressed encoding, so long as it’s not the point at infinity.
Sourcefn from_uncompressed(
encoding: EncodingBytes<Self, N>,
) -> Result<Self, GroupDecodingError>
fn from_uncompressed( encoding: EncodingBytes<Self, N>, ) -> Result<Self, GroupDecodingError>
Converts an uncompressed encoding into the curve point
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.