Struct secp256k1::RecoveryId [] [src]

pub struct RecoveryId(_);

A tag used for recovering the public key from a compact signature

Methods

impl RecoveryId
[src]

fn from_i32(id: i32) -> Result<RecoveryIdError>

Allows library users to create valid recovery IDs from i32.

fn to_i32(&self) -> i32

Allows library users to convert recovery IDs to i32.

Trait Implementations

impl Debug for RecoveryId
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for RecoveryId
[src]

impl PartialEq for RecoveryId
[src]

fn eq(&self, __arg_0: &RecoveryId) -> bool

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

fn ne(&self, __arg_0: &RecoveryId) -> bool

This method tests for !=.

impl Clone for RecoveryId
[src]

fn clone(&self) -> RecoveryId

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 RecoveryId
[src]