[][src]Trait hashicorp_vault::TryFrom

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

Waiting to stabilize: https://github.com/rust-lang/rust/issues/33417

Attempt to construct Self via a conversion.

Associated Types

type Err

The type returned in the event of a conversion error.

Loading content...

Required methods

fn try_from(_: T) -> Result<Self, Self::Err>

Performs the conversion.

Loading content...

Implementations on Foreign Types

impl TryFrom<Url> for Url[src]

type Err = Error

impl<'a> TryFrom<&'a Url> for Url[src]

type Err = Error

impl<'a> TryFrom<&'a str> for Url[src]

type Err = Error

Loading content...

Implementors

Loading content...