#[repr(C)]pub struct entropy_context {
pub accumulator_started: c_int,
pub accumulator: sha512_context,
pub source_count: c_int,
pub source: [entropy_source_state; 20],
pub mutex: threading_mutex_t,
}Fields§
§accumulator_started: c_int§accumulator: sha512_context§source_count: c_int§source: [entropy_source_state; 20]§mutex: threading_mutex_tTrait Implementations§
Source§impl Clone for entropy_context
impl Clone for entropy_context
Source§fn clone(&self) -> entropy_context
fn clone(&self) -> entropy_context
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for entropy_context
impl Default for entropy_context
impl Copy for entropy_context
Auto Trait Implementations§
impl Freeze for entropy_context
impl RefUnwindSafe for entropy_context
impl !Send for entropy_context
impl !Sync for entropy_context
impl Unpin for entropy_context
impl UnwindSafe for entropy_context
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