Struct wolfssl_sys::WOLFSSL_RAND_METHOD
source · [−]#[repr(C)]pub struct WOLFSSL_RAND_METHOD {
pub seed: Option<unsafe extern "C" fn(seed: *const c_void, len: c_int) -> c_int>,
pub bytes: Option<unsafe extern "C" fn(buf: *mut c_uchar, len: c_int) -> c_int>,
pub cleanup: Option<unsafe extern "C" fn()>,
pub add: Option<unsafe extern "C" fn(add: *const c_void, len: c_int, entropy: f64) -> c_int>,
pub pseudorand: Option<unsafe extern "C" fn(buf: *mut c_uchar, len: c_int) -> c_int>,
pub status: Option<unsafe extern "C" fn() -> c_int>,
}Fields
seed: Option<unsafe extern "C" fn(seed: *const c_void, len: c_int) -> c_int>bytes: Option<unsafe extern "C" fn(buf: *mut c_uchar, len: c_int) -> c_int>cleanup: Option<unsafe extern "C" fn()>add: Option<unsafe extern "C" fn(add: *const c_void, len: c_int, entropy: f64) -> c_int>pseudorand: Option<unsafe extern "C" fn(buf: *mut c_uchar, len: c_int) -> c_int>status: Option<unsafe extern "C" fn() -> c_int>Trait Implementations
sourceimpl Clone for WOLFSSL_RAND_METHOD
impl Clone for WOLFSSL_RAND_METHOD
sourcefn clone(&self) -> WOLFSSL_RAND_METHOD
fn clone(&self) -> WOLFSSL_RAND_METHOD
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 Debug for WOLFSSL_RAND_METHOD
impl Debug for WOLFSSL_RAND_METHOD
impl Copy for WOLFSSL_RAND_METHOD
Auto Trait Implementations
impl RefUnwindSafe for WOLFSSL_RAND_METHOD
impl Send for WOLFSSL_RAND_METHOD
impl Sync for WOLFSSL_RAND_METHOD
impl Unpin for WOLFSSL_RAND_METHOD
impl UnwindSafe for WOLFSSL_RAND_METHOD
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