pub trait Signers {
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>;
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>;
fn is_interactive(&self) -> bool;
}
Expand description
Convenience trait for working with mixed collections of Signer
s
Required Methods
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
Implementations on Foreign Types
sourceimpl<T: Signer> Signers for [&T]
impl<T: Signer> Signers for [&T]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl Signers for [Box<dyn Signer>]
impl Signers for [Box<dyn Signer>]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl Signers for Vec<Box<dyn Signer>>
impl Signers for Vec<Box<dyn Signer>>
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl Signers for Vec<&dyn Signer>
impl Signers for Vec<&dyn Signer>
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl Signers for [&dyn Signer]
impl Signers for [&dyn Signer]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl Signers for [&dyn Signer; 0]
impl Signers for [&dyn Signer; 0]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl Signers for [&dyn Signer; 1]
impl Signers for [&dyn Signer; 1]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl Signers for [&dyn Signer; 2]
impl Signers for [&dyn Signer; 2]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl Signers for [&dyn Signer; 3]
impl Signers for [&dyn Signer; 3]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl Signers for [&dyn Signer; 4]
impl Signers for [&dyn Signer; 4]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl<T: Signer> Signers for [&T; 0]
impl<T: Signer> Signers for [&T; 0]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl<T: Signer> Signers for [&T; 1]
impl<T: Signer> Signers for [&T; 1]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl<T: Signer> Signers for [&T; 2]
impl<T: Signer> Signers for [&T; 2]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl<T: Signer> Signers for [&T; 3]
impl<T: Signer> Signers for [&T; 3]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl<T: Signer> Signers for [&T; 4]
impl<T: Signer> Signers for [&T; 4]
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_sign_message(
&self,
message: &[u8]
) -> Result<Vec<Signature>, SignerError>
fn is_interactive(&self) -> bool
sourceimpl<T: Signer> Signers for Vec<&T>
impl<T: Signer> Signers for Vec<&T>
fn pubkeys(&self) -> Vec<Pubkey>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn try_pubkeys(&self) -> Result<Vec<Pubkey>, SignerError>
fn sign_message(&self, message: &[u8]) -> Vec<Signature>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,