Struct esp_idf_sys::mbedtls_entropy_context
source · [−]#[repr(C)]pub struct mbedtls_entropy_context {
pub accumulator_started: c_int,
pub accumulator: mbedtls_sha512_context,
pub source_count: c_int,
pub source: [mbedtls_entropy_source_state; 20],
}
Expand description
\brief Entropy context structure
Fields
accumulator_started: c_int
accumulator: mbedtls_sha512_context
source_count: c_int
source: [mbedtls_entropy_source_state; 20]
Trait Implementations
sourceimpl Clone for mbedtls_entropy_context
impl Clone for mbedtls_entropy_context
sourcefn clone(&self) -> mbedtls_entropy_context
fn clone(&self) -> mbedtls_entropy_context
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for mbedtls_entropy_context
impl Debug for mbedtls_entropy_context
sourceimpl Default for mbedtls_entropy_context
impl Default for mbedtls_entropy_context
impl Copy for mbedtls_entropy_context
Auto Trait Implementations
impl RefUnwindSafe for mbedtls_entropy_context
impl !Send for mbedtls_entropy_context
impl !Sync for mbedtls_entropy_context
impl Unpin for mbedtls_entropy_context
impl UnwindSafe for mbedtls_entropy_context
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more