Struct solana_sdk::signature::NullSigner [−][src]
pub struct NullSigner { /* fields omitted */ }
NullSigner - A Signer
implementation that always produces Signature::default()
.
Used as a placeholder for absentee signers whose ’Pubkey` is required to construct
the transaction
Implementations
impl NullSigner
[src]
impl NullSigner
[src]Trait Implementations
impl Clone for NullSigner
[src]
impl Clone for NullSigner
[src]fn clone(&self) -> NullSigner
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for NullSigner
[src]
impl Default for NullSigner
[src]fn default() -> NullSigner
[src]
impl<T> PartialEq<T> for NullSigner where
T: Signer,
[src]
impl<T> PartialEq<T> for NullSigner where
T: Signer,
[src]impl Signer for NullSigner
[src]
impl Signer for NullSigner
[src]fn try_pubkey(&self) -> Result<Pubkey, SignerError>
[src]
fn try_sign_message(&self, _message: &[u8]) -> Result<Signature, SignerError>
[src]
fn pubkey(&self) -> Pubkey
[src]
fn sign_message(&self, message: &[u8]) -> Signature
[src]
Auto Trait Implementations
impl RefUnwindSafe for NullSigner
impl RefUnwindSafe for NullSigner
impl Send for NullSigner
impl Send for NullSigner
impl Sync for NullSigner
impl Sync for NullSigner
impl Unpin for NullSigner
impl Unpin for NullSigner
impl UnwindSafe for NullSigner
impl UnwindSafe for NullSigner
Blanket Implementations
impl<T> AbiExample for T
[src]
impl<T> AbiExample for T
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,