Trait xcm::TryAs

source ·
pub trait TryAs<T> {
    // Required method
    fn try_as(&self) -> Result<&T, ()>;
}

Required Methods§

source

fn try_as(&self) -> Result<&T, ()>

Implementors§