[−][src]Struct libsodium_sys::randombytes_implementation
Fields
implementation_name: Option<unsafe extern "C" fn() -> *const c_char>
random: Option<unsafe extern "C" fn() -> u32>
stir: Option<unsafe extern "C" fn()>
uniform: Option<unsafe extern "C" fn(upper_bound: u32) -> u32>
buf: Option<unsafe extern "C" fn(buf: *mut c_void, size: usize)>
close: Option<unsafe extern "C" fn() -> c_int>
Trait Implementations
impl Clone for randombytes_implementation
[src]
pub fn clone(&self) -> randombytes_implementation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for randombytes_implementation
[src]
impl Debug for randombytes_implementation
[src]
Auto Trait Implementations
impl Send for randombytes_implementation
[src]
impl Sync for randombytes_implementation
[src]
impl Unpin for randombytes_implementation
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,