Struct secp256k1::RecoveryId [−][src]
pub struct RecoveryId(_);
A tag used for recovering the public key from a compact signature
Methods
impl RecoveryId
[src]
impl RecoveryId
pub 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) -> i32
Allows library users to convert recovery IDs to i32.
Trait Implementations
impl Copy for RecoveryId
[src]
impl Copy for RecoveryId
impl Clone for RecoveryId
[src]
impl Clone for RecoveryId
fn clone(&self) -> RecoveryId
[src]
fn clone(&self) -> RecoveryId
Returns 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 RecoveryId
fn eq(&self, other: &RecoveryId) -> bool
[src]
fn eq(&self, other: &RecoveryId) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for RecoveryId
[src]
impl Eq for RecoveryId
impl Debug for RecoveryId
[src]
impl Debug for RecoveryId
Auto Trait Implementations
impl Send for RecoveryId
impl Send for RecoveryId
impl Sync for RecoveryId
impl Sync for RecoveryId