[−][src]Trait sp_core::crypto::Ss58Codec
Key that can be encoded to/from SS58.
Provided methods
fn from_ss58check(s: &str) -> Result<Self, PublicError>
Some if the string is a properly encoded SS58Check address.
fn from_ss58check_with_version(
s: &str
) -> Result<(Self, Ss58AddressFormat), PublicError>
s: &str
) -> Result<(Self, Ss58AddressFormat), PublicError>
Some if the string is a properly encoded SS58Check address.
fn from_string(s: &str) -> Result<Self, PublicError>
Some if the string is a properly encoded SS58Check address, optionally with a derivation path following.
fn to_ss58check_with_version(&self, version: Ss58AddressFormat) -> String
Return the ss58-check string for this key.
fn to_ss58check(&self) -> String
Return the ss58-check string for this key.
fn from_string_with_version(
s: &str
) -> Result<(Self, Ss58AddressFormat), PublicError>
s: &str
) -> Result<(Self, Ss58AddressFormat), PublicError>
Some if the string is a properly encoded SS58Check address, optionally with a derivation path following.
Implementors
impl Ss58Codec for AccountId32
[src]
impl<T: Sized + AsMut<[u8]> + AsRef<[u8]> + Default + Derive> Ss58Codec for T
[src]
fn from_string(s: &str) -> Result<Self, PublicError>
[src]
fn from_string_with_version(
s: &str
) -> Result<(Self, Ss58AddressFormat), PublicError>
[src]
s: &str
) -> Result<(Self, Ss58AddressFormat), PublicError>