#[repr(C)]pub struct RecoverableSignature(/* private fields */);
Expand description
Library-internal representation of a Secp256k1 signature + recovery ID
Implementations§
Source§impl RecoverableSignature
impl RecoverableSignature
Source§impl RecoverableSignature
impl RecoverableSignature
Sourcepub fn new() -> RecoverableSignature
pub fn new() -> RecoverableSignature
Create a new (zeroed) signature usable for the FFI interface
Sourcepub unsafe fn blank() -> RecoverableSignature
pub unsafe fn blank() -> RecoverableSignature
Create a new (uninitialized) signature usable for the FFI interface
Trait Implementations§
Source§impl Clone for RecoverableSignature
impl Clone for RecoverableSignature
Source§fn clone(&self) -> RecoverableSignature
fn clone(&self) -> RecoverableSignature
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RecoverableSignature
impl Debug for RecoverableSignature
Source§impl Decodable for RecoverableSignature
impl Decodable for RecoverableSignature
Source§impl<'de> Deserialize<'de> for RecoverableSignature
impl<'de> Deserialize<'de> for RecoverableSignature
Source§fn deserialize<D>(d: D) -> Result<RecoverableSignature, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<RecoverableSignature, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encodable for RecoverableSignature
impl Encodable for RecoverableSignature
Source§impl From<RecoverableSignature> for RecoverableSignature
impl From<RecoverableSignature> for RecoverableSignature
Creates a new recoverable signature from a FFI one
Source§fn from(sig: RecoverableSignature) -> RecoverableSignature
fn from(sig: RecoverableSignature) -> RecoverableSignature
Converts to this type from the input type.
Source§impl Index<RangeFull> for RecoverableSignature
impl Index<RangeFull> for RecoverableSignature
Source§impl Index<usize> for RecoverableSignature
impl Index<usize> for RecoverableSignature
Source§impl PartialEq for RecoverableSignature
impl PartialEq for RecoverableSignature
Source§impl Serialize for RecoverableSignature
impl Serialize for RecoverableSignature
impl Copy for RecoverableSignature
impl Eq for RecoverableSignature
Auto Trait Implementations§
impl Freeze for RecoverableSignature
impl RefUnwindSafe for RecoverableSignature
impl Send for RecoverableSignature
impl Sync for RecoverableSignature
impl Unpin for RecoverableSignature
impl UnwindSafe for RecoverableSignature
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)