Skip to main content

CryptoKeyMethods

pub trait CryptoKeyMethods<D: DomTypes> {
    // Required methods
    fn Type(&self) -> KeyType;
    fn Extractable(&self) -> bool;
    fn Algorithm(&self, retval: MutableHandle<'_, *mut JSObject>);
    fn Usages(&self, retval: MutableHandle<'_, *mut JSObject>);
}

Required Methods§

Source

fn Type(&self) -> KeyType

Source

fn Extractable(&self) -> bool

Source

fn Algorithm(&self, retval: MutableHandle<'_, *mut JSObject>)

Source

fn Usages(&self, retval: MutableHandle<'_, *mut JSObject>)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§