Enum rand::rngs::TimerError[][src]

pub enum TimerError {
    NoTimer,
    CoarseTimer,
    NotMonotonic,
    TinyVariantions,
    TooManyStuck,
    // some variants omitted
}

An error that can occur when JitterRng::test_timer fails.

Variants

No timer available.

Timer too coarse to use as an entropy source.

Timer is not monotonically increasing.

Variations of deltas of time too small.

Too many stuck results (indicating no added entropy).

Trait Implementations

impl Debug for TimerError
[src]

Formats the value using the given formatter. Read more

impl Clone for TimerError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TimerError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TimerError
[src]

impl Display for TimerError
[src]

Formats the value using the given formatter. Read more

impl Error for TimerError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<TimerError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for TimerError

impl Sync for TimerError