pub struct LinkOptions { /* private fields */ }Expand description
Which @unstable-gated interfaces add_to_linker_with_options adds.
Every flag defaults to off; this host implements all of them, so a flag
is embedder policy, not capability.
Implementations§
Source§impl LinkOptions
impl LinkOptions
Sourcepub fn sha1_checked(&mut self, enabled: bool) -> &mut Self
pub fn sha1_checked(&mut self, enabled: bool) -> &mut Self
Serve polymorph:webcrypto/sha1-checked.
Sourcepub fn rsa_sign(&mut self, enabled: bool) -> &mut Self
pub fn rsa_sign(&mut self, enabled: bool) -> &mut Self
Serve polymorph:webcrypto/rsassa-pkcs1-v15-sign and
polymorph:webcrypto/rsa-pss-sign.
Sourcepub fn rsa_oaep_decrypt(&mut self, enabled: bool) -> &mut Self
pub fn rsa_oaep_decrypt(&mut self, enabled: bool) -> &mut Self
Serve polymorph:webcrypto/rsa-oaep-decrypt.
Trait Implementations§
Source§impl Clone for LinkOptions
impl Clone for LinkOptions
Source§fn clone(&self) -> LinkOptions
fn clone(&self) -> LinkOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinkOptions
impl Debug for LinkOptions
Source§impl Default for LinkOptions
impl Default for LinkOptions
Source§fn default() -> LinkOptions
fn default() -> LinkOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinkOptions
impl RefUnwindSafe for LinkOptions
impl Send for LinkOptions
impl Sync for LinkOptions
impl Unpin for LinkOptions
impl UnsafeUnpin for LinkOptions
impl UnwindSafe for LinkOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more