pub struct LibQRngProvider;Expand description
RNG provider factory
This factory provides convenient methods for creating RNG instances with different characteristics and configurations.
Implementations§
Trait Implementations§
Source§impl Default for LibQRngProvider
impl Default for LibQRngProvider
Source§impl RngProvider for LibQRngProvider
Available on crate feature alloc only.
impl RngProvider for LibQRngProvider
Available on crate feature
alloc only.Source§fn create_rng(&self, config: &RngConfig) -> Result<Box<dyn SecureRng>>
fn create_rng(&self, config: &RngConfig) -> Result<Box<dyn SecureRng>>
Create a new RNG instance Read more
Source§fn capabilities(&self) -> ProviderCapabilities
fn capabilities(&self) -> ProviderCapabilities
Get the provider’s capabilities Read more
Auto Trait Implementations§
impl Freeze for LibQRngProvider
impl RefUnwindSafe for LibQRngProvider
impl Send for LibQRngProvider
impl Sync for LibQRngProvider
impl Unpin for LibQRngProvider
impl UnsafeUnpin for LibQRngProvider
impl UnwindSafe for LibQRngProvider
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