Enum secp256k1::ContextFlag
[−]
[src]
pub enum ContextFlag { None, SignOnly, VerifyOnly, Full, }
Flags used to determine the capabilities of a Secp256k1
object;
the more capabilities, the more expensive it is to create.
Variants
None
Can neither sign nor verify signatures (cheapest to create, useful for cases not involving signatures, such as creating keys from slices)
SignOnly
Can sign but not verify signatures
VerifyOnly
Can verify but not create signatures
Full
Can verify and create signatures
Trait Implementations
impl Debug for ContextFlag
[src]
impl Clone for ContextFlag
[src]
fn clone(&self) -> ContextFlag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ContextFlag
[src]
impl Eq for ContextFlag
[src]
impl PartialEq for ContextFlag
[src]
fn eq(&self, __arg_0: &ContextFlag) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.