TryAs
staging_xcm
7.0.0
TryAs
Required Methods
try_as
Implementors
In crate staging_xcm
Modules
latest
lts
opaque
prelude
v2
v3
v4
Structs
AlwaysV2
AlwaysV3
AlwaysV4
DoubleEncoded
Enums
Unsupported
VersionedAsset
VersionedAssetId
VersionedAssets
VersionedInteriorLocation
VersionedJunction
VersionedLocation
VersionedNetworkId
VersionedResponse
VersionedXcm
Constants
MAX_XCM_DECODE_DEPTH
Traits
GetVersion
IdentifyVersion
IntoVersion
TryAs
WrapVersion
Type Aliases
AlwaysLatest
AlwaysLts
Version
VersionedInteriorMultiLocation
VersionedMultiAsset
VersionedMultiAssets
VersionedMultiLocation
?
Settings
Trait
staging_xcm
::
TryAs
Copy item path
source
·
[
−
]
pub trait TryAs<T> { // Required method fn
try_as
(&self) ->
Result
<
&T
,
()
>; }
Required Methods
§
source
fn
try_as
(&self) ->
Result
<
&T
,
()
>
Implementors
§
source
§
impl
TryAs
<
Junction
> for
VersionedJunction
source
§
impl
TryAs
<
Junctions
> for
VersionedInteriorLocation
source
§
impl
TryAs
<
NetworkId
> for
VersionedNetworkId
source
§
impl
TryAs
<
Response
> for
VersionedResponse
source
§
impl
TryAs
<
AssetId
> for
VersionedAssetId
source
§
impl
TryAs
<
Junction
> for
VersionedJunction
source
§
impl
TryAs
<
Junctions
> for
VersionedInteriorLocation
source
§
impl
TryAs
<
NetworkId
> for
VersionedNetworkId
source
§
impl
TryAs
<
Response
> for
VersionedResponse
source
§
impl
TryAs
<
Junction
> for
VersionedJunction
source
§
impl
TryAs
<
Junctions
> for
VersionedInteriorLocation
source
§
impl
TryAs
<
NetworkId
> for
VersionedNetworkId
source
§
impl
TryAs
<
Response
> for
VersionedResponse
source
§
impl
TryAs
<
MultiAsset
> for
VersionedAsset
source
§
impl
TryAs
<
MultiAssets
> for
VersionedAssets
source
§
impl
TryAs
<
MultiLocation
> for
VersionedLocation
source
§
impl
TryAs
<
MultiAsset
> for
VersionedAsset
source
§
impl
TryAs
<
MultiAssets
> for
VersionedAssets
source
§
impl
TryAs
<
MultiLocation
> for
VersionedLocation
source
§
impl
TryAs
<
Asset
> for
VersionedAsset
source
§
impl
TryAs
<
AssetId
> for
VersionedAssetId
source
§
impl
TryAs
<
Assets
> for
VersionedAssets
source
§
impl
TryAs
<
Location
> for
VersionedLocation