pub struct Entropy32To8<'a, E: Entropy32<'a>> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a, E: Entropy32<'a>> Client32 for Entropy32To8<'a, E>
impl<'a, E: Entropy32<'a>> Client32 for Entropy32To8<'a, E>
Source§impl<'a, E: Entropy32<'a>> Entropy8<'a> for Entropy32To8<'a, E>
impl<'a, E: Entropy32<'a>> Entropy8<'a> for Entropy32To8<'a, E>
Source§fn cancel(&self) -> Result<(), ErrorCode>
fn cancel(&self) -> Result<(), ErrorCode>
Cancel acquisition of random numbers.
There are two valid return values:
- Ok(()): an outstanding request from
get
has been cancelled, or there was no outstanding request. Norandomness_available
callback will be issued. - FAIL: There will be a randomness_available callback, which may or may not return an error code.
Source§fn set_client(&'a self, client: &'a dyn Client8)
fn set_client(&'a self, client: &'a dyn Client8)
Set the client to receive
entropy_available
callbacks.Auto Trait Implementations§
impl<'a, E> !Freeze for Entropy32To8<'a, E>
impl<'a, E> !RefUnwindSafe for Entropy32To8<'a, E>
impl<'a, E> !Send for Entropy32To8<'a, E>
impl<'a, E> !Sync for Entropy32To8<'a, E>
impl<'a, E> Unpin for Entropy32To8<'a, E>
impl<'a, E> !UnwindSafe for Entropy32To8<'a, E>
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