[][src]Struct web_sys::HkdfParams

#[repr(transparent)]pub struct HkdfParams { /* fields omitted */ }

The HkdfParams dictionary.

This API requires the following crate features to be activated: HkdfParams

Methods

impl HkdfParams[src]

pub fn new(name: &str, hash: &JsValue, info: &Object, salt: &Object) -> Self[src]

Construct a new HkdfParams.

This API requires the following crate features to be activated: HkdfParams

pub fn name(&mut self, val: &str) -> &mut Self[src]

Change the name field of this object.

This API requires the following crate features to be activated: HkdfParams

pub fn hash(&mut self, val: &JsValue) -> &mut Self[src]

Change the hash field of this object.

This API requires the following crate features to be activated: HkdfParams

pub fn info(&mut self, val: &Object) -> &mut Self[src]

Change the info field of this object.

This API requires the following crate features to be activated: HkdfParams

pub fn salt(&mut self, val: &Object) -> &mut Self[src]

Change the salt field of this object.

This API requires the following crate features to be activated: HkdfParams

Trait Implementations

impl AsRef<HkdfParams> for HkdfParams[src]

impl AsRef<JsValue> for HkdfParams[src]

impl AsRef<Object> for HkdfParams[src]

impl Clone for HkdfParams[src]

impl Debug for HkdfParams[src]

impl Deref for HkdfParams[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for HkdfParams[src]

impl From<HkdfParams> for JsValue[src]

impl From<HkdfParams> for Object[src]

impl From<JsValue> for HkdfParams[src]

impl FromWasmAbi for HkdfParams[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for HkdfParams[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a HkdfParams[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for HkdfParams[src]

impl OptionFromWasmAbi for HkdfParams[src]

impl OptionIntoWasmAbi for HkdfParams[src]

impl<'a> OptionIntoWasmAbi for &'a HkdfParams[src]

impl PartialEq<HkdfParams> for HkdfParams[src]

impl RefFromWasmAbi for HkdfParams[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<HkdfParams>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for HkdfParams[src]

impl StructuralPartialEq for HkdfParams[src]

impl WasmDescribe for HkdfParams[src]

Auto Trait Implementations

impl RefUnwindSafe for HkdfParams

impl !Send for HkdfParams

impl !Sync for HkdfParams

impl Unpin for HkdfParams

impl UnwindSafe for HkdfParams

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.