pub struct ProviderCapabilities {
pub secure: bool,
pub deterministic: bool,
pub hardware: bool,
pub reseeding: bool,
pub custom_entropy: bool,
pub no_std: bool,
pub wasm: bool,
}Expand description
Provider capabilities structure
Fields§
§secure: boolCan provide cryptographically secure randomness
deterministic: boolCan provide deterministic randomness
hardware: boolSupports hardware entropy sources
reseeding: boolSupports reseeding
custom_entropy: boolSupports custom entropy sources
no_std: boolSupports no_std environments
wasm: boolSupports WASM environments
Trait Implementations§
Source§impl Clone for ProviderCapabilities
impl Clone for ProviderCapabilities
Source§fn clone(&self) -> ProviderCapabilities
fn clone(&self) -> ProviderCapabilities
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 ProviderCapabilities
impl Debug for ProviderCapabilities
Source§impl Default for ProviderCapabilities
impl Default for ProviderCapabilities
Source§impl PartialEq for ProviderCapabilities
impl PartialEq for ProviderCapabilities
Source§fn eq(&self, other: &ProviderCapabilities) -> bool
fn eq(&self, other: &ProviderCapabilities) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProviderCapabilities
impl Eq for ProviderCapabilities
impl StructuralPartialEq for ProviderCapabilities
Auto Trait Implementations§
impl Freeze for ProviderCapabilities
impl RefUnwindSafe for ProviderCapabilities
impl Send for ProviderCapabilities
impl Sync for ProviderCapabilities
impl Unpin for ProviderCapabilities
impl UnsafeUnpin for ProviderCapabilities
impl UnwindSafe for ProviderCapabilities
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