trait NormalizedAlgorithm: Sized {
// Required methods
fn from_object(
cx: &mut JSContext,
algorithm_name: CryptoAlgorithm,
object: HandleObject<'_>,
) -> Fallible<Self>;
fn name(&self) -> CryptoAlgorithm;
}Required Methods§
Sourcefn from_object(
cx: &mut JSContext,
algorithm_name: CryptoAlgorithm,
object: HandleObject<'_>,
) -> Fallible<Self>
fn from_object( cx: &mut JSContext, algorithm_name: CryptoAlgorithm, object: HandleObject<'_>, ) -> Fallible<Self>
fn name(&self) -> CryptoAlgorithm
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.