Struct solana_sdk::signer::presigner::Presigner [−][src]
pub struct Presigner { /* fields omitted */ }
Expand description
A Signer
implementation that represents a Signature
that has been
constructed externally. Performs a signature verification against the
expected message upon sign()
requests to affirm its relationship to
the message
bytes
Implementations
Trait Implementations
impl Signer for Presigner
[src]
impl Signer for Presigner
[src]fn try_pubkey(&self) -> Result<Pubkey, SignerError>
[src]
fn try_pubkey(&self) -> Result<Pubkey, SignerError>
[src]Fallibly gets the implementor’s public key
fn try_sign_message(&self, message: &[u8]) -> Result<Signature, SignerError>
[src]
fn try_sign_message(&self, message: &[u8]) -> Result<Signature, SignerError>
[src]Fallibly produces an Ed25519 signature over the provided message
bytes.
Auto Trait Implementations
impl RefUnwindSafe for Presigner
impl Send for Presigner
impl Sync for Presigner
impl Unpin for Presigner
impl UnwindSafe for Presigner
Blanket Implementations
impl<T> AbiExample for T
[src]
impl<T> AbiExample for T
[src]impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,