pub struct TestEntropySource { /* private fields */ }Expand description
Deterministic bytes for unit tests only.
Implementations§
Source§impl TestEntropySource
impl TestEntropySource
Sourcepub fn noxtls_new() -> Self
pub fn noxtls_new() -> Self
Creates a test source seeded at zero.
Trait Implementations§
Source§impl Clone for TestEntropySource
impl Clone for TestEntropySource
Source§fn clone(&self) -> TestEntropySource
fn clone(&self) -> TestEntropySource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestEntropySource
impl Debug for TestEntropySource
Source§impl EntropySource for TestEntropySource
impl EntropySource for TestEntropySource
Auto Trait Implementations§
impl Freeze for TestEntropySource
impl RefUnwindSafe for TestEntropySource
impl Send for TestEntropySource
impl Sync for TestEntropySource
impl Unpin for TestEntropySource
impl UnsafeUnpin for TestEntropySource
impl UnwindSafe for TestEntropySource
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