Struct secp256k1::RecoveryId [−][src]
pub struct RecoveryId(_);
A tag used for recovering the public key from a compact signature
Methods
impl RecoveryId[src]
impl RecoveryIdpub fn from_i32(id: i32) -> Result<RecoveryId, Error>[src]
pub fn from_i32(id: i32) -> Result<RecoveryId, Error>Allows library users to create valid recovery IDs from i32.
pub fn to_i32(&self) -> i32[src]
pub fn to_i32(&self) -> i32Allows library users to convert recovery IDs to i32.
Trait Implementations
impl Copy for RecoveryId[src]
impl Copy for RecoveryIdimpl Clone for RecoveryId[src]
impl Clone for RecoveryIdfn clone(&self) -> RecoveryId[src]
fn clone(&self) -> RecoveryIdReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for RecoveryId[src]
impl PartialEq for RecoveryIdfn eq(&self, other: &RecoveryId) -> bool[src]
fn eq(&self, other: &RecoveryId) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RecoveryId) -> bool[src]
fn ne(&self, other: &RecoveryId) -> boolThis method tests for !=.
impl Eq for RecoveryId[src]
impl Eq for RecoveryIdimpl Debug for RecoveryId[src]
impl Debug for RecoveryIdAuto Trait Implementations
impl Send for RecoveryId
impl Send for RecoveryIdimpl Sync for RecoveryId
impl Sync for RecoveryId