pub trait TypedCurve: Curve {
const CURVE_TYPE: CurveType;
// Provided methods
fn to_base58(bytes: impl AsRef<[u8]>) -> String { ... }
fn parse_base58<const N: usize>(
s: impl AsRef<str>,
) -> Result<[u8; N], ParseCurveError> { ... }
}
Required Associated Constants§
const CURVE_TYPE: CurveType
Provided Methods§
fn to_base58(bytes: impl AsRef<[u8]>) -> String
fn parse_base58<const N: usize>( s: impl AsRef<str>, ) -> Result<[u8; N], ParseCurveError>
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.