Enum ethers::core::rand::distributions::BernoulliError [−][src]
pub enum BernoulliError {
InvalidProbability,
}
Expand description
Error type returned from Bernoulli::new
.
Variants
InvalidProbability
p < 0
or p > 1
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BernoulliError
impl Send for BernoulliError
impl Sync for BernoulliError
impl Unpin for BernoulliError
impl UnwindSafe for BernoulliError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more