Struct breez_sdk_core::bitcoin::util::key::secp256k1::ffi::recovery::RecoverableSignature
#[repr(C)]pub struct RecoverableSignature(/* private fields */);
Expand description
Library-internal representation of a Secp256k1 signature + recovery ID
Implementations§
§impl RecoverableSignature
impl RecoverableSignature
pub fn as_mut_ptr(&mut self) -> *mut u8
pub fn as_mut_ptr(&mut self) -> *mut u8
Converts the object to a mutable raw pointer for FFI interfacing
§impl RecoverableSignature
impl RecoverableSignature
pub fn new() -> RecoverableSignature
pub fn new() -> RecoverableSignature
Create a new (zeroed) signature usable for the FFI interface
Trait Implementations§
§impl AsRef<[u8; 65]> for RecoverableSignature
impl AsRef<[u8; 65]> for RecoverableSignature
§impl CPtr for RecoverableSignature
impl CPtr for RecoverableSignature
type Target = u8
fn as_c_ptr(&self) -> *const <RecoverableSignature as CPtr>::Target
fn as_mut_c_ptr(&mut self) -> *mut <RecoverableSignature as CPtr>::Target
§impl Clone for RecoverableSignature
impl Clone for RecoverableSignature
§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 more§impl Debug for RecoverableSignature
impl Debug for RecoverableSignature
§impl Default for RecoverableSignature
impl Default for RecoverableSignature
§fn default() -> RecoverableSignature
fn default() -> RecoverableSignature
Returns the “default value” for a type. Read more
§impl From<RecoverableSignature> for RecoverableSignature
impl From<RecoverableSignature> for RecoverableSignature
Creates a new recoverable signature from a FFI one.
§fn from(sig: RecoverableSignature) -> RecoverableSignature
fn from(sig: RecoverableSignature) -> RecoverableSignature
Converts to this type from the input type.
§impl Hash for RecoverableSignature
impl Hash for RecoverableSignature
§impl Index<Range<usize>> for RecoverableSignature
impl Index<Range<usize>> for RecoverableSignature
§impl Index<RangeFrom<usize>> for RecoverableSignature
impl Index<RangeFrom<usize>> for RecoverableSignature
§impl Index<RangeFull> for RecoverableSignature
impl Index<RangeFull> for RecoverableSignature
§impl Index<RangeTo<usize>> for RecoverableSignature
impl Index<RangeTo<usize>> for RecoverableSignature
§impl Index<usize> for RecoverableSignature
impl Index<usize> for RecoverableSignature
§impl Ord for RecoverableSignature
impl Ord for RecoverableSignature
§fn cmp(&self, other: &RecoverableSignature) -> Ordering
fn cmp(&self, other: &RecoverableSignature) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for RecoverableSignature
impl PartialEq for RecoverableSignature
§impl PartialOrd for RecoverableSignature
impl PartialOrd 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§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Forward to the method defined on the type
Any
.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Forward to the method defined on the type
Any
.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request