Trait stdweb::unstable::TryInto [] [src]

pub trait TryInto<T>: Sized {
    type Error;
    fn try_into(self) -> Result<T, Self::Error>;
}

An attempted conversion that consumes self, which may or may not be expensive.

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

Associated Types

The type returned in the event of a conversion error.

Required Methods

Performs the conversion.

Implementors