Struct solana_sdk::signer::null_signer::NullSigner [−][src]
pub struct NullSigner { /* fields omitted */ }
Expand description
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
Trait Implementations
Returns the “default value” for a type. Read more
Fallibly gets the implementor’s public key
Fallibly produces an Ed25519 signature over the provided message
bytes.
Infallibly gets the implementor’s public key. Returns the all-zeros
Pubkey
if the implementor has none. Read more
Auto Trait Implementations
impl RefUnwindSafe for NullSigner
impl Send for NullSigner
impl Sync for NullSigner
impl Unpin for NullSigner
impl UnwindSafe for NullSigner
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V