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

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

type Error

The type returned in the event of a conversion error.

Loading content...

Required methods

fn try_into(self) -> Result<T, Self::Error>

Performs the conversion.

Loading content...

Implementors

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = U::Error

Loading content...