pub trait CryptoMethods<D: DomTypes> {
    // Required methods
    fn Subtle(&self) -> Root<Dom<SubtleCrypto>>;
    fn GetRandomValues(
        &self,
        cx: SafeJSContext,
        array: CustomAutoRooterGuard<'_, ArrayBufferView>,
    ) -> Result<ArrayBufferView, Error>;
    fn RandomUUID(&self) -> DOMString;
}

Required Methods§

Implementors§