Struct flow_sdk::algorithms::secp256k1::secp256k1_sys::XOnlyPublicKey [−][src]
#[repr(C)]pub struct XOnlyPublicKey(_);
Implementations
Creates an “uninitialized” FFI x-only public key 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 x-only public key 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 x-only public key
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 Schnorr public key from a FFI x-only public key
Performs the conversion.
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 XOnlyPublicKey
impl Send for XOnlyPublicKey
impl Sync for XOnlyPublicKey
impl Unpin for XOnlyPublicKey
impl UnwindSafe for XOnlyPublicKey
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