Enum pdotc::Ss58AddressFormat [−][src]
pub enum Ss58AddressFormat {
Show 49 variants
PolkadotAccount,
BareSr25519,
KusamaAccount,
BareEd25519,
KatalChainAccount,
PlasmAccount,
BifrostAccount,
EdgewareAccount,
KaruraAccount,
ReynoldsAccount,
AcalaAccount,
LaminarAccount,
PolymathAccount,
SubstraTeeAccount,
TotemAccount,
SynesthesiaAccount,
KulupuAccount,
DarkAccount,
DarwiniaAccount,
GeekAccount,
StafiAccount,
DockTestAccount,
DockMainAccount,
ShiftNrg,
ZeroAccount,
AlphavilleAccount,
JupiterAccount,
PatractAccount,
SubsocialAccount,
DhiwayAccount,
PhalaAccount,
LitentryAccount,
RobonomicsAccount,
DataHighwayAccount,
AresAccount,
ValiuAccount,
CentrifugeAccount,
NodleAccount,
KiltAccount,
PolimecAccount,
SubstrateAccount,
BareSecp256k1,
ChainXAccount,
UniartsAccount,
Reserved46,
Reserved47,
AventusAccount,
CrustAccount,
Custom(u16),
}Expand description
A known address (sub)format/network ID for SS58.
Variants
Polkadot Relay-chain, standard account (*25519).
Bare 32-bit Schnorr/Ristretto 25519 (S/R 25519) key.
Kusama Relay-chain, standard account (*25519).
Bare 32-bit Edwards Ed25519 key.
Katal Chain, standard account (*25519).
Plasm Network, standard account (*25519).
Bifrost mainnet, direct checksum, standard account (*25519).
Edgeware mainnet, standard account (*25519).
Acala Karura canary network, standard account (*25519).
Laminar Reynolds canary network, standard account (*25519).
Acala mainnet, standard account (*25519).
Laminar mainnet, standard account (*25519).
Polymath network, standard account (*25519).
Any SubstraTEE off-chain network private account (*25519).
Any Totem Live Accounting network standard account (*25519).
Synesthesia mainnet, standard account (*25519).
Kulupu mainnet, standard account (*25519).
Dark mainnet, standard account (*25519).
Darwinia Chain mainnet, standard account (*25519).
GeekCash mainnet, standard account (*25519).
Stafi mainnet, standard account (*25519).
Dock testnet, standard account (*25519).
Dock mainnet, standard account (*25519).
ShiftNrg mainnet, standard account (*25519).
ZERO mainnet, standard account (*25519).
ZERO testnet, standard account (*25519).
Jupiter testnet, standard account (*25519).
Patract mainnet, standard account (*25519).
Subsocial network, standard account (*25519).
Dhiway CORD network, standard account (*25519).
Phala Network, standard account (*25519).
Litentry Network, standard account (*25519).
Any Robonomics network standard account (*25519).
DataHighway mainnet, standard account (*25519).
Ares Protocol, standard account (*25519).
Valiu Liquidity Network mainnet, standard account (*25519).
Centrifuge Chain mainnet, standard account (*25519).
Nodle Chain mainnet, standard account (*25519).
KILT Chain mainnet, standard account (*25519).
Polimec Chain mainnet, standard account (*25519).
Any Substrate network, standard account (*25519).
Bare ECDSA SECP256k1 key.
ChainX mainnet, standard account (*25519).
UniArts Chain mainnet, standard account (*25519).
Reserved for future use (46).
Reserved for future use (47).
Aventus Chain mainnet, standard account (*25519).
Crust Network, standard account (*25519).
Custom(u16)Use a manually provided numeric value as a standard identifier
Tuple Fields of Custom
0: u16Implementations
names of all address formats
All known address formats.
Trait Implementations
Returns the “default value” for a type. Read more
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
pub fn try_from(
x: &'a str
) -> Result<Ss58AddressFormat, <Ss58AddressFormat as TryFrom<&'a str>>::Error>
pub fn try_from(
x: &'a str
) -> Result<Ss58AddressFormat, <Ss58AddressFormat as TryFrom<&'a str>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Ss58AddressFormat
impl Send for Ss58AddressFormat
impl Sync for Ss58AddressFormat
impl Unpin for Ss58AddressFormat
impl UnwindSafe for Ss58AddressFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
The counterpart to unchecked_from.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more