[−][src]Enum sp_core::crypto::Ss58AddressFormat
A known address (sub)format/network ID for SS58.
Variants
Polkadot Relay-chain, standard account (*25519).
Reserved for future use (1).
Kusama Relay-chain, standard account (*25519).
Reserved for future use (3).
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).
Kulupu mainnet, standard account (*25519).
Darwinia Chain mainnet, standard account (*25519).
Stafi mainnet, standard account (*25519).
Any Robonomics network standard account (*25519).
Centrifuge Chain mainnet, standard account (*25519).
Any Substrate network, standard account (*25519).
Reserved for future use (43).
Any SubstraTEE off-chain network private account (*25519).
Reserved for future use (46).
Reserved for future use (47).
Custom(u8)
Use a manually provided numeric value.
Implementations
impl Ss58AddressFormat
[src]
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]
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 From<Ss58AddressFormat> for u8
[src]
fn from(x: Ss58AddressFormat) -> u8
[src]
impl From<Ss58AddressFormat> for String
[src]
fn from(x: Ss58AddressFormat) -> String
[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 = ()
The type returned in the event of a conversion error.
fn try_from(x: &'a str) -> Result<Ss58AddressFormat, ()>
[src]
impl TryFrom<u8> for Ss58AddressFormat
[src]
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
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
[src]
T: InitializableFromZeroed + ?Sized,
impl<T> From<T> for T
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
[src]
T: Default,
unsafe fn initialize(place: *mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
[src]
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
fn from_ref(&Outer) -> &T
[src]
Get a reference to the inner from the outer.
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,
[src]
T: RefUnwindSafe,
impl<T> Same<T> for T
[src]
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.
fn to_owned(&self) -> T
[src]
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.
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.
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>,
fn unchecked_into(Self) -> T
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,