Struct bsv_wasm::signature::Signature [−][src]
pub struct Signature { /* fields omitted */ }
Implementations
Native Exported Methods
pub fn recover_public_key(
&self,
message: Vec<u8>,
hash_algo: SigningHash
) -> Result<PublicKey>
Trait Implementations
The type that holds the reference to Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
Recover a Self::Anchor
from Self::Abi
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Signature
impl UnwindSafe for Signature
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more
type Output = T
type Output = T
Should always be Self