Enum sp_core::crypto::Ss58AddressFormatRegistry

source ·
#[non_exhaustive]
#[repr(u16)]
pub enum Ss58AddressFormatRegistry {
Show 149 variants BareEd25519Account = 3, BareSecp256K1Account = 43, BareSr25519Account = 1, DicoAccount = 53, IceAccount = 2_206, KicoAccount = 52, SnowAccount = 2_207, AcalaAccount = 10, AjunaAccount = 1_328, AllfeatNetworkAccount = 440, AltairAccount = 136, AmplitudeAccount = 57, AnalogTimechainAccount = 12_850, AnmolAccount = 92, AresAccount = 34, AstarAccount = 5, AventusAccount = 65, BajunAccount = 1_337, BasiliskAccount = 10_041, BifrostAccount = 6, BitgreenAccount = 2_106, BittensorAccount = 13_116, CalamariAccount = 78, CentrifugeAccount = 36, CereAccount = 54, CessAccount = 11_331, CessTestnetAccount = 11_330, ChainflipAccount = 2_112, ChainxAccount = 44, CloudwalkMainnetAccount = 2_009, CloverAccount = 128, ComposableAccount = 50, ContextfreeAccount = 11_820, CordAccount = 29, CrustAccount = 66, CurioAccount = 777, DarkAccount = 17, DarwiniaAccount = 18, DatahighwayAccount = 33, DentnetAccount = 9_807, DockPosMainnetAccount = 22, DorafactoryPolkadotAccount = 129, EdgewareAccount = 7, EfinityAccount = 1_110, EquilibriumAccount = 68, EternalCivilizationAccount = 58, FragnovaAccount = 93, FrequencyAccount = 90, G1Account = 4_450, GeekAccount = 789, GenshiroAccount = 67, GmAccount = 7_013, GoldenGateAccount = 8_866, GoldenGateSydneyAccount = 8_886, GoroAccount = 14_697, HashedAccount = 9_072, HeikoAccount = 110, HumanodeAccount = 5_234, HydradxAccount = 63, IbtidaAccount = 100, ImpactAccount = 12_155, IntegriteeAccount = 13, IntegriteeIncognitoAccount = 113, InterlayAccount = 2_032, JoystreamAccount = 126, JupiterAccount = 26, KabochaAccount = 27, KapexAccount = 2_007, KarmachainAccount = 21, KaruraAccount = 8, KatalchainAccount = 4, KiltAccount = 38, KintsugiAccount = 2_092, KrestAccount = 1_222, KriganAccount = 7_306, KulupuAccount = 16, KusamaAccount = 2, LaminarAccount = 11, LitentryAccount = 31, LitmusAccount = 131, LogionAccount = 2_021, LuhnAccount = 11_486, MantaAccount = 77, MathchainAccount = 39, MathchainTestnetAccount = 40, MetaquityNetworkAccount = 666, MoonbeamAccount = 1_284, MoonriverAccount = 1_285, MoonsamaAccount = 2_199, MosaicChainAccount = 14_998, MythosAccount = 29_972, NeatcoinAccount = 48, NftmartAccount = 12_191, NodleAccount = 37, OakAccount = 51, OrigintrailParachainAccount = 101, P3DAccount = 71, P3DtAccount = 72, ParallelAccount = 172, PeaqAccount = 1_221, PeerplaysAccount = 3_333, PendulumAccount = 56, PhalaAccount = 30, PicassoAccount = 49, PioneerNetworkAccount = 268, PolimecAccount = 41, PolkadexAccount = 88, PolkadexparachainAccount = 89, PolkadotAccount = 0, PolkafoundryAccount = 99, PolkasmithAccount = 98, PolymeshAccount = 12, PontemNetworkAccount = 105, QuartzMainnetAccount = 255, Reserved46Account = 46, Reserved47Account = 47, ReynoldsAccount = 9, RobonomicsAccount = 32, SapphireMainnetAccount = 8_883, SealsAccount = 1_985, ShiftAccount = 23, SocialNetworkAccount = 252, SocietalAccount = 1_516, SoraAccount = 69, SoraDotParaAccount = 81, SoraKusamaParaAccount = 420, StafiAccount = 20, SubsocialAccount = 28, SubspaceAccount = 6_094, SubspaceTestnetAccount = 2_254, SubstrateAccount = 42, SynesthesiaAccount = 15, T3RnAccount = 9_935, TangleAccount = 5_845, TernoaAccount = 995, TidefiAccount = 7_007, TinkerAccount = 117, TotemAccount = 14, UniartsAccount = 45, UniqueMainnetAccount = 7_391, VaraAccount = 137, VlnAccount = 35, VowChainAccount = 2_024, WatrAccount = 19, XcavateAccount = 8_888, XxnetworkAccount = 55, ZeitgeistAccount = 73, ZeroAccount = 24, ZeroAlphavilleAccount = 25,
}
Expand description

A known address (sub)format/network ID for SS58.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

BareEd25519Account = 3

Bare 32-bit Ed25519 public key.

§

BareSecp256K1Account = 43

Bare 32-bit ECDSA SECP-256k1 public key.

§

BareSr25519Account = 1

Bare 32-bit Schnorr/Ristretto (S/R 25519) public key.

§

DicoAccount = 53

§

IceAccount = 2_206

ICE Network - https://icenetwork.io

§

KicoAccount = 52

§

SnowAccount = 2_207

SNOW: ICE Canary Network - https://icenetwork.io

§

AcalaAccount = 10

§

AjunaAccount = 1_328

Ajuna Network - https://ajuna.io

§

AllfeatNetworkAccount = 440

Allfeat Network - https://allfeat.network

§

AltairAccount = 136

§

AmplitudeAccount = 57

Amplitude chain - https://pendulumchain.org/

§

AnalogTimechainAccount = 12_850

Analog Timechain - https://analog.one

§

AnmolAccount = 92

Anmol Network - https://anmol.network/

§

AresAccount = 34

§

AstarAccount = 5

Astar Network - https://astar.network

§

AventusAccount = 65

Aventus Mainnet - https://aventus.io

§

BajunAccount = 1_337

Bajun Network - https://ajuna.io

§

BasiliskAccount = 10_041

Basilisk - https://bsx.fi

§

BifrostAccount = 6

§

BitgreenAccount = 2_106

§

BittensorAccount = 13_116

§

CalamariAccount = 78

Calamari: Manta Canary Network - https://manta.network

§

CentrifugeAccount = 36

Centrifuge Chain - https://centrifuge.io/

§

CereAccount = 54

Cere Network - https://cere.network

§

CessAccount = 11_331

§

CessTestnetAccount = 11_330

CESS Testnet - https://cess.cloud

§

ChainflipAccount = 2_112

§

ChainxAccount = 44

§

CloudwalkMainnetAccount = 2_009

CloudWalk Network Mainnet - https://explorer.mainnet.cloudwalk.io

§

CloverAccount = 128

Clover Finance - https://clover.finance

§

ComposableAccount = 50

Composable Finance - https://composable.finance

§

ContextfreeAccount = 11_820

Automata ContextFree - https://ata.network

§

CordAccount = 29

CORD Network - https://cord.network/

§

CrustAccount = 66

Crust Network - https://crust.network

§

CurioAccount = 777

§

DarkAccount = 17

Dark Mainnet

§

DarwiniaAccount = 18

Darwinia Network - https://darwinia.network

§

DatahighwayAccount = 33

DataHighway

§

DentnetAccount = 9_807

§

DockPosMainnetAccount = 22

Dock Mainnet - https://dock.io

§

DorafactoryPolkadotAccount = 129

Dorafactory Polkadot Network - https://dorafactory.org

§

EdgewareAccount = 7

Edgeware - https://edgewa.re

§

EfinityAccount = 1_110

§

EquilibriumAccount = 68

Equilibrium Network - https://equilibrium.io

§

EternalCivilizationAccount = 58

Eternal Civilization - http://www.ysknfr.cn/

§

FragnovaAccount = 93

Fragnova Network - https://fragnova.com

§

FrequencyAccount = 90

§

G1Account = 4_450

§

GeekAccount = 789

GEEK Network - https://geek.gl

§

GenshiroAccount = 67

§

GmAccount = 7_013

§

GoldenGateAccount = 8_866

Golden Gate - https://ggxchain.io/

§

GoldenGateSydneyAccount = 8_886

Golden Gate Sydney - https://ggxchain.io/

§

GoroAccount = 14_697

GORO Network - https://goro.network

§

HashedAccount = 9_072

Hashed Network - https://hashed.network

§

HeikoAccount = 110

§

HumanodeAccount = 5_234

Humanode Network - https://humanode.io

§

HydradxAccount = 63

§

IbtidaAccount = 100

Anmol Network Ibtida Canary network - https://anmol.network/

§

ImpactAccount = 12_155

Impact Protocol Network - https://impactprotocol.network/

§

IntegriteeAccount = 13

§

IntegriteeIncognitoAccount = 113

Integritee Incognito - https://integritee.network

§

InterlayAccount = 2_032

§

JoystreamAccount = 126

§

JupiterAccount = 26

§

KabochaAccount = 27

§

KapexAccount = 2_007

§

KarmachainAccount = 21

Karmacoin - https://karmaco.in

§

KaruraAccount = 8

§

KatalchainAccount = 4

Katal Chain

§

KiltAccount = 38

KILT Spiritnet - https://kilt.io/

§

KintsugiAccount = 2_092

§

KrestAccount = 1_222

Krest Network - https://www.peaq.network/

§

KriganAccount = 7_306

Krigan Network - https://krigan.network

§

KulupuAccount = 16

§

KusamaAccount = 2

Kusama Relay Chain - https://kusama.network

§

LaminarAccount = 11

§

LitentryAccount = 31

Litentry Network - https://litentry.com/

§

LitmusAccount = 131

Litmus Network - https://litentry.com/

§

LogionAccount = 2_021

logion network - https://logion.network

§

LuhnAccount = 11_486

Luhn Network - https://luhn.network

§

MantaAccount = 77

Manta network - https://manta.network

§

MathchainAccount = 39

MathChain mainnet - https://mathwallet.org

§

MathchainTestnetAccount = 40

MathChain testnet - https://mathwallet.org

§

MetaquityNetworkAccount = 666

Metaquity Network - https://metaquity.xyz/

§

MoonbeamAccount = 1_284

§

MoonriverAccount = 1_285

§

MoonsamaAccount = 2_199

§

MosaicChainAccount = 14_998

Mosaic Chain - https://mosaicchain.io

§

MythosAccount = 29_972

§

NeatcoinAccount = 48

Neatcoin Mainnet - https://neatcoin.org

§

NftmartAccount = 12_191

§

NodleAccount = 37

Nodle Chain - https://nodle.io/

§

OakAccount = 51

OAK Network - https://oak.tech

§

OrigintrailParachainAccount = 101

OriginTrail Parachain - https://parachain.origintrail.io/

§

P3DAccount = 71

3DP network - https://3dpass.org

§

P3DtAccount = 72

3DP test network - https://3dpass.org

§

ParallelAccount = 172

§

PeaqAccount = 1_221

§

PeerplaysAccount = 3_333

§

PendulumAccount = 56

Pendulum chain - https://pendulumchain.org/

§

PhalaAccount = 30

Phala Network - https://phala.network

§

PicassoAccount = 49

§

PioneerNetworkAccount = 268

Pioneer Network by Bit.Country - https://bit.country

§

PolimecAccount = 41

Polimec Protocol - https://www.polimec.org/

§

PolkadexAccount = 88

Polkadex Mainnet - https://polkadex.trade

§

PolkadexparachainAccount = 89

Polkadex Parachain - https://polkadex.trade

§

PolkadotAccount = 0

Polkadot Relay Chain - https://polkadot.network

§

PolkafoundryAccount = 99

PolkaFoundry Network - https://polkafoundry.com

§

PolkasmithAccount = 98

PolkaSmith Canary Network - https://polkafoundry.com

§

PolymeshAccount = 12

§

PontemNetworkAccount = 105

Pontem Network - https://pontem.network

§

QuartzMainnetAccount = 255

QUARTZ by UNIQUE - https://unique.network

§

Reserved46Account = 46

This prefix is reserved.

§

Reserved47Account = 47

This prefix is reserved.

§

ReynoldsAccount = 9

Laminar Reynolds Canary - http://laminar.network/

§

RobonomicsAccount = 32

§

SapphireMainnetAccount = 8_883

Sapphire by Unique - https://unique.network

§

SealsAccount = 1_985

Seals Network - https://seals.app

§

ShiftAccount = 23

ShiftNrg

§

SocialNetworkAccount = 252

Social Network - https://social.network

§

SocietalAccount = 1_516

§

SoraAccount = 69

SORA Network - https://sora.org

§

SoraDotParaAccount = 81

SORA Polkadot Parachain - https://sora.org

§

SoraKusamaParaAccount = 420

SORA Kusama Parachain - https://sora.org

§

StafiAccount = 20

§

SubsocialAccount = 28

Subsocial

§

SubspaceAccount = 6_094

§

SubspaceTestnetAccount = 2_254

Subspace testnet - https://subspace.network

§

SubstrateAccount = 42

§

SynesthesiaAccount = 15

§

T3RnAccount = 9_935

§

TangleAccount = 5_845

Tangle Network - https://www.tangle.tools/

§

TernoaAccount = 995

§

TidefiAccount = 7_007

§

TinkerAccount = 117

§

TotemAccount = 14

§

UniartsAccount = 45

UniArts Network - https://uniarts.me

§

UniqueMainnetAccount = 7_391

Unique Network - https://unique.network

§

VaraAccount = 137

Vara Network - https://vara.network/

§

VlnAccount = 35

Valiu Liquidity Network - https://valiu.com/

§

VowChainAccount = 2_024

Enigmatic Smile - https://www.vow.foundation/

§

WatrAccount = 19

Watr Protocol - https://www.watr.org

§

XcavateAccount = 8_888

Xcavate Protocol - https://xcavate.io/

§

XxnetworkAccount = 55

xx network - https://xx.network

§

ZeitgeistAccount = 73

§

ZeroAccount = 24

§

ZeroAlphavilleAccount = 25

ZERO Alphaville - https://zero.io

Implementations§

source§

impl Ss58AddressFormatRegistry

source

pub fn tokens(&self) -> &'static [TokenRegistry]

Tokens used on the given network.

Trait Implementations§

source§

impl Clone for Ss58AddressFormatRegistry

source§

fn clone(&self) -> Ss58AddressFormatRegistry

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Ss58AddressFormatRegistry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for Ss58AddressFormatRegistry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<Ss58AddressFormatRegistry> for Ss58AddressFormat

source§

fn from(x: Ss58AddressFormatRegistry) -> Ss58AddressFormat

Converts to this type from the input type.
source§

impl FromStr for Ss58AddressFormatRegistry

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str( data: &str, ) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl PartialEq for Ss58AddressFormatRegistry

source§

fn eq(&self, other: &Ss58AddressFormatRegistry) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a> TryFrom<&'a str> for Ss58AddressFormatRegistry

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from( x: &'a str, ) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as TryFrom<&'a str>>::Error>

Performs the conversion.
source§

impl TryFrom<Ss58AddressFormat> for Ss58AddressFormatRegistry

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from( x: Ss58AddressFormat, ) -> Result<Ss58AddressFormatRegistry, ParseError>

Performs the conversion.
source§

impl Copy for Ss58AddressFormatRegistry

source§

impl Eq for Ss58AddressFormatRegistry

source§

impl StructuralPartialEq for Ss58AddressFormatRegistry

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> Conv for T

source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<T> FmtForward for T

source§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
source§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
source§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
source§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
source§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
source§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
source§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
source§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
source§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<T, Outer> IsWrappedBy<Outer> for T
where Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

source§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

source§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

source§

impl<T> Pipe for T
where T: ?Sized,

source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
source§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
source§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
source§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> Tap for T

source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
source§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
source§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
source§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
source§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
source§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
source§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
source§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T> TryConv for T

source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<S, T> UncheckedInto<T> for S
where T: UncheckedFrom<S>,

source§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> JsonSchemaMaybe for T

source§

impl<T> MaybeDebug for T
where T: Debug,

source§

impl<T> MaybeRefUnwindSafe for T
where T: RefUnwindSafe,