Enum sp_core::crypto::Ss58AddressFormat [−][src]
pub enum Ss58AddressFormat {}Show 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, SubsocialAccount, DhiwayAccount, PhalaAccount, LitentryAccount, RobonomicsAccount, DataHighwayAccount, AresAccount, ValiuAccount, CentrifugeAccount, NodleAccount, KiltAccount, PolimecAccount, SubstrateAccount, BareSecp256k1, ChainXAccount, UniartsAccount, Reserved46, Reserved47, NeatcoinAccount, HydraDXAccount, AventusAccount, CrustAccount, EquilibriumAccount, SoraAccount, ZeitgeistAccount, MantaAccount, CalamariAccount, PolkaSmith, PolkaFoundry, OriginTrailAccount, HeikoAccount, ParallelAccount, SocialAccount, Moonbeam, Moonriver, BasiliskAccount, 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).
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).
Neatcoin mainnet, standard account (*25519).
HydraDX standard account (*25519).
Aventus Chain mainnet, standard account (*25519).
Crust Network, standard account (*25519).
Equilibrium Network, standard account (*25519).
SORA Network, standard account (*25519).
Zeitgeist network, standard account (*25519).
Manta Network, standard account (*25519).
Manta Canary Network, standard account (*25519).
PolkaSmith Canary Network, standard account (*25519).
PolkaFoundry Network, standard account (*25519).
OriginTrail Parachain, ethereumm account (ECDSA).
Heiko, session key (*25519).
Parallel, session key (*25519).
Social Network, standard account (*25519).
Moonbeam, session key (*25519).
Moonriver, session key (*25519).
Basilisk standard account (*25519).
Custom(u16)
Use a manually provided numeric value as a standard identifier
Implementations
names of all address formats
All known address formats.
Trait Implementations
Performs the conversion.
Performs the conversion.
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.
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
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.
pub fn vzip(self) -> V
impl<T> MaybeDebug for T where
T: Debug,