Enum sp_core::crypto::Ss58AddressFormat [−][src]
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
Implementations
impl Ss58AddressFormat
[src]
pub fn all_names() -> &'static [&'static str]ⓘ
[src]
names of all address formats
pub fn all() -> &'static [Ss58AddressFormat]ⓘ
[src]
All known address formats.
pub fn is_custom(&self) -> bool
[src]
Whether the address is custom.
Trait Implementations
impl Clone for Ss58AddressFormat
[src]
fn clone(&self) -> Ss58AddressFormat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Ss58AddressFormat
[src]
impl Debug for Ss58AddressFormat
[src]
impl Default for Ss58AddressFormat
[src]
impl Display for Ss58AddressFormat
[src]
impl Eq for Ss58AddressFormat
[src]
impl FromStr for Ss58AddressFormat
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(data: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<Ss58AddressFormat> for Ss58AddressFormat
[src]
fn eq(&self, other: &Ss58AddressFormat) -> bool
[src]
fn ne(&self, other: &Ss58AddressFormat) -> bool
[src]
impl StructuralEq for Ss58AddressFormat
[src]
impl StructuralPartialEq for Ss58AddressFormat
[src]
impl<'a> TryFrom<&'a str> for Ss58AddressFormat
[src]
type Error = ParseError
The type returned in the event of a conversion error.
fn try_from(x: &'a str) -> Result<Ss58AddressFormat, Self::Error>
[src]
impl TryFrom<u16> for Ss58AddressFormat
[src]
type Error = ()
The type returned in the event of a conversion error.
fn try_from(x: u16) -> Result<Ss58AddressFormat, ()>
[src]
impl TryFrom<u8> for Ss58AddressFormat
[src]
Auto Trait Implementations
impl RefUnwindSafe for Ss58AddressFormat
[src]
impl Send for Ss58AddressFormat
[src]
impl Sync for Ss58AddressFormat
[src]
impl Unpin for Ss58AddressFormat
[src]
impl UnwindSafe for Ss58AddressFormat
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
pub fn from_ref(&Outer) -> &T
[src]
Get a reference to the inner from the outer.
pub fn from_mut(&mut Outer) -> &mut T
[src]
Get a mutable reference to the inner from the outer.
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
T: UncheckedFrom<S>,
pub fn unchecked_into(Self) -> T
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,