pub enum RngFailureKind {
EntropyUnavailable,
InvalidOutputLength,
}Expand description
Specific reason secure random generation failed.
Variants§
The system entropy source was unavailable.
InvalidOutputLength
The requested output length was unacceptable.
Trait Implementations§
Source§impl Clone for RngFailureKind
impl Clone for RngFailureKind
Source§fn clone(&self) -> RngFailureKind
fn clone(&self) -> RngFailureKind
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 moreimpl Copy for RngFailureKind
Source§impl Debug for RngFailureKind
impl Debug for RngFailureKind
Source§impl Display for RngFailureKind
impl Display for RngFailureKind
impl Eq for RngFailureKind
Source§impl PartialEq for RngFailureKind
impl PartialEq for RngFailureKind
impl StructuralPartialEq for RngFailureKind
Auto Trait Implementations§
impl Freeze for RngFailureKind
impl RefUnwindSafe for RngFailureKind
impl Send for RngFailureKind
impl Sync for RngFailureKind
impl Unpin for RngFailureKind
impl UnsafeUnpin for RngFailureKind
impl UnwindSafe for RngFailureKind
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