Enum rand::jitter::TimerError
[−]
[src]
pub enum TimerError { NoTimer, CoarseTimer, NotMonotonic, TinyVariantions, TooManyStuck, // some variants omitted }
An error that can occur when test_timer
fails.
Variants
NoTimer
No timer available.
CoarseTimer
Timer too coarse to use as an entropy source.
NotMonotonic
Timer is not monotonically increasing.
TinyVariantions
Variations of deltas of time too small.
TooManyStuck
Too many stuck results (indicating no added entropy).
Trait Implementations
impl Debug for TimerError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for TimerError
[src]
fn clone(&self) -> TimerError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for TimerError
[src]
fn eq(&self, __arg_0: &TimerError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for TimerError
[src]
impl Display for TimerError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more