Trait script::dom::bindings::codegen::Bindings::CryptoBinding::Crypto_Binding::CryptoMethods
source · 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;
}