[−][src]Struct uckb_jsonrpc_core::secp256k1::Pubkey
TODO(doc): @zhangsoledad
Implementations
impl Pubkey
[src]
pub fn verify(&self, message: &H256, signature: &Signature) -> Result<(), Error>
[src]
Checks that signature
is a valid ECDSA signature for message
using the public
key pubkey
pub fn serialize(&self) -> Vec<u8, Global>
[src]
TODO(doc): @zhangsoledad
pub fn from_slice(data: &[u8]) -> Result<Pubkey, Error>
[src]
TODO(doc): @zhangsoledad
Methods from Deref<Target = H512>
Trait Implementations
impl Clone for Pubkey
[src]
impl Debug for Pubkey
[src]
impl Deref for Pubkey
[src]
type Target = H512
The resulting type after dereferencing.
pub fn deref(&self) -> &<Pubkey as Deref>::Target
[src]
impl Display for Pubkey
[src]
impl Eq for Pubkey
[src]
impl From<[u8; 64]> for Pubkey
[src]
impl From<H512> for Pubkey
[src]
impl From<PublicKey> for Pubkey
[src]
impl Hash for Pubkey
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<H512> for Pubkey
[src]
impl PartialEq<Pubkey> for Pubkey
[src]
impl StructuralEq for Pubkey
[src]
impl StructuralPartialEq for Pubkey
[src]
Auto Trait Implementations
impl RefUnwindSafe for Pubkey
impl Send for Pubkey
impl Sync for Pubkey
impl Unpin for Pubkey
impl UnwindSafe for Pubkey
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,