Struct ethcontract::errors::InvalidPrivateKey [−][src]
pub struct InvalidPrivateKey;
Expand description
An error indicating an invalid private key. Private keys for secp256k1 must
be exactly 32 bytes and fall within the range [1, n)
where n
is the
order of the generator point of the curve.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for InvalidPrivateKey
impl Send for InvalidPrivateKey
impl Sync for InvalidPrivateKey
impl Unpin for InvalidPrivateKey
impl UnwindSafe for InvalidPrivateKey