pub struct OsEntropy<'source> { /* private fields */ }
Implementations
sourceimpl<'source> OsEntropy<'source>
impl<'source> OsEntropy<'source>
pub fn add_source<F: EntropySourceCallback>(
&mut self,
source: &'source mut F,
threshold: size_t,
strong: bool
) -> Result<()>
pub fn gather(&mut self) -> Result<()>
pub fn update_manual(&mut self, data: &[u8]) -> Result<()>
Trait Implementations
Auto Trait Implementations
impl<'source> RefUnwindSafe for OsEntropy<'source>
impl<'source> !Send for OsEntropy<'source>
impl<'source> !Sync for OsEntropy<'source>
impl<'source> Unpin for OsEntropy<'source>
impl<'source> UnwindSafe for OsEntropy<'source>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more