Enum sp_core::crypto::Ss58AddressFormat [−][src]
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).
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).
Kulupu mainnet, standard account (*25519).
Dark mainnet, standard account (*25519).
Darwinia Chain mainnet, standard account (*25519).
Stafi mainnet, standard account (*25519).
Dock testnet, standard account (*25519).
Dock mainnet, standard account (*25519).
ShiftNrg mainnet, standard account (*25519).
Subsocial network, standard account (*25519).
Phala Network, standard account (*25519).
Any Robonomics network standard account (*25519).
DataHighway mainnet, standard account (*25519).
Centrifuge Chain mainnet, standard account (*25519).
Any Substrate network, standard account (*25519).
Reserved for future use (43).
ChainX mainnet, standard 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_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<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,
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,
[src]
T: RefUnwindSafe,
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
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.
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>,
[src]
V: MultiLane<T>,