Trait stdweb::unstable::TryFrom [] [src]

pub trait TryFrom<T>: Sized {
    type Error;
    fn try_from(_: T) -> Result<Self, Self::Error>;
}

Attempt to construct Self via a conversion.

This definition is only temporary until Rust's TryFrom is stabilized.

Associated Types

The type returned in the event of a conversion error.

Required Methods

Performs the conversion.

Implementors