Enum secp256k1_test::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

Can neither sign nor verify signatures (cheapest to create, useful for cases not involving signatures, such as creating keys from slices)

Can sign but not verify signatures

Can verify but not create signatures

Can verify and create signatures

Trait Implementations

impl PartialEq for ContextFlag
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ContextFlag
[src]

impl Copy for ContextFlag
[src]

impl Clone for ContextFlag
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ContextFlag
[src]

[src]

Formats the value using the given formatter.

impl Display for ContextFlag
[src]

[src]

Formats the value using the given formatter. Read more