#[non_exhaustive]pub struct RngError(/* private fields */);Expand description
Error returned when the operating system fails to provide entropy.
Trait Implementations§
impl Copy for RngError
Source§impl Error for RngError
impl Error for RngError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<RngError> for SecretKeyError
impl From<RngError> for SecretKeyError
Source§impl From<RngError> for SubscriptionIdError
impl From<RngError> for SubscriptionIdError
Source§impl From<RngError> for Nip04Error
Available on crate feature nip04 only.
impl From<RngError> for Nip04Error
Available on crate feature
nip04 only.Source§impl From<RngError> for Nip06Error
Available on crate feature nip06 only.
impl From<RngError> for Nip06Error
Available on crate feature
nip06 only.Source§impl From<RngError> for Nip44Error
Available on crate feature nip44 only.
impl From<RngError> for Nip44Error
Available on crate feature
nip44 only.Source§impl From<RngError> for Nip49Error
Available on crate feature nip49 only.
impl From<RngError> for Nip49Error
Available on crate feature
nip49 only.Auto Trait Implementations§
impl Freeze for RngError
impl RefUnwindSafe for RngError
impl Send for RngError
impl Sync for RngError
impl Unpin for RngError
impl UnsafeUnpin for RngError
impl UnwindSafe for RngError
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