Enum stm32f4xx_hal::rng::ErrorKind
source · [−]pub enum ErrorKind {
ClockError,
SeedError,
}
Expand description
Random number generator specific errors
Variants
ClockError
The RNG_CLK was not correctly detected (fRNG_CLK< fHCLK/16). See CECS in RNG peripheral documentation.
SeedError
RNG detected more than 64 consecutive bits of the same value (0 or 1) OR more than 32 consecutive 01 pairs. See SECS in RNG peripheral documentation.
Trait Implementations
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralEq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more