[][src]Enum solana_cli::cli::SigningAuthority

pub enum SigningAuthority {
    Online(Keypair),
    Offline(PubkeyKeypair),
}

Variants

Online(Keypair)
Offline(PubkeyKeypair)

Methods

impl SigningAuthority[src]

pub fn new_from_matches(
    matches: &ArgMatches,
    name: &str,
    signers: Option<&[(Pubkey, Signature)]>
) -> Result<Option<Self>, CliError>
[src]

pub fn keypair(&self) -> &Keypair[src]

pub fn pubkey(&self) -> Pubkey[src]

Trait Implementations

impl Debug for SigningAuthority[src]

impl From<Keypair> for SigningAuthority[src]

impl From<Pubkey> for SigningAuthority[src]

impl PartialEq<SigningAuthority> for SigningAuthority[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,