Struct flow_sdk::algorithms::secp256k1::secp256k1_sys::Signature [−][src]
#[repr(C)]pub struct Signature(_);
Expand description
Library-internal representation of a Secp256k1 signature
Implementations
Creates an “uninitialized” FFI signature which is zeroed out
If you pass this to any FFI functions, except as an out-pointer, the result is likely to be an assertation failure and process termination.
Create a new signature usable for the FFI interface from raw bytes
Does not check the validity of the underlying representation. If it is invalid the result may be assertation failures (and process aborts) from the underlying library. You should not use this method except with data that you obtained from the FFI interface of the same version of this library.
Returns the underlying FFI opaque representation of the signature
You should not use this unless you really know what you are doing. It is essentially only useful for extending the FFI interface itself.
Converts the object to a mutable raw pointer for FFI interfacing
Trait Implementations
Creates a new signature from a FFI signature
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Signature
impl UnwindSafe for Signature
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more