pub fn is_valid_signer<T>(string: T) -> Result<(), String>
where
    T: AsRef<str> + Display,
{
    is_valid_pubkey(string)
}
// Return an error if string cannot be parsed as a valid Signer. This is an alias of
// `is_valid_pubkey`, and does accept pubkey strings, even though a Pubkey is not by itself
// sufficient to sign a transaction.
//
// In the current offline-signing implementation, a pubkey is the valid input for a signer field
// when paired with an offline `--signer` argument to provide a Presigner (pubkey + signature).
// Clap validators can't check multiple fields at once, so the verification that a `--signer` is
// also provided and correct happens in parsing, not in validation.
Return an error if string cannot be parsed as a valid Signer. This is an alias of
`is_valid_pubkey`, and does accept pubkey strings, even though a Pubkey is not by itself
sufficient to sign a transaction.

In the current offline-signing implementation, a pubkey is the valid input for a signer field
when paired with an offline `--signer` argument to provide a Presigner (pubkey + signature).
Clap validators can't check multiple fields at once, so the verification that a `--signer` is
also provided and correct happens in parsing, not in validation.
Return an error if string cannot be parsed as a valid Signer . This is an alias of ` is_valid_pubkey ` and does accept pubkey strings even though a Pubkey is not by itself sufficient to sign a transaction . In the current offline - signing implementation a pubkey is the valid input for a signer field when paired with an offline ` -- signer ` argument to provide a Presigner ( pubkey + signature ) . Clap validators can ' t check multiple fields at once so the verification that a ` -- signer ` is also provided and correct happens in parsing not in validation .
pub fn is_valid_signer<T>(string: T) -> Result<(), String>
where
    T: AsRef<str> + Display,
{
    is_valid_pubkey(string)
}
pub fn is_valid_signer < T > ( string : T ) -> Result < ( ) , String > where T : AsRef < str > + Display , { is_valid_pubkey ( string ) }
Return an error if string cannot be parsed as a valid Signer.
Return an error if string cannot be parsed as a valid Signer .
string
T