pub trait FromEncodedPoint<C>{
// Required method
fn from_encoded_point(point: &EncodedPoint<C>) -> CtOption<Self>;
}
Expand description
Trait for deserializing a value from a SEC1 encoded curve point.
This is intended for use with the AffinePoint
type for a given elliptic curve.
Required Methods§
Sourcefn from_encoded_point(point: &EncodedPoint<C>) -> CtOption<Self>
fn from_encoded_point(point: &EncodedPoint<C>) -> CtOption<Self>
Deserialize the type this trait is impl’d on from an EncodedPoint
.
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.