Struct mbedtls_sys::entropy_source_state
source · [−]#[repr(C)]pub struct entropy_source_state {
pub f_source: entropy_f_source_ptr,
pub p_source: *mut c_void,
pub size: size_t,
pub threshold: size_t,
pub strong: c_int,
}
Fields
f_source: entropy_f_source_ptr
p_source: *mut c_void
size: size_t
threshold: size_t
strong: c_int
Trait Implementations
sourceimpl Clone for entropy_source_state
impl Clone for entropy_source_state
sourcefn clone(&self) -> entropy_source_state
fn clone(&self) -> entropy_source_state
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for entropy_source_state
impl Default for entropy_source_state
impl Copy for entropy_source_state
Auto Trait Implementations
impl RefUnwindSafe for entropy_source_state
impl !Send for entropy_source_state
impl !Sync for entropy_source_state
impl Unpin for entropy_source_state
impl UnwindSafe for entropy_source_state
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<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.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more