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