script::dom::bindings::codegen::Bindings::SubtleCryptoBinding

Type Alias HkdfParams

Source
pub(crate) type HkdfParams = HkdfParams;

Aliased Type§

struct HkdfParams {
    pub(crate) parent: Algorithm,
    pub(crate) hash: ObjectOrString,
    pub(crate) info: ArrayBufferViewOrArrayBuffer,
    pub(crate) salt: ArrayBufferViewOrArrayBuffer,
}

Fields§

§parent: Algorithm§hash: ObjectOrString§info: ArrayBufferViewOrArrayBuffer§salt: ArrayBufferViewOrArrayBuffer

Implementations

Trait Implementations

Source§

impl ToJSValConvertible for HkdfParams

Source§

unsafe fn to_jsval(&self, cx: *mut JSContext, rval: MutableHandleValue<'_>)

Convert self to a JSVal. JSAPI failure causes a panic.
Source§

impl Traceable for HkdfParams

Source§

unsafe fn trace(&self, tracer: *mut JSTracer)

Trace self.