Trait slack_hook::TryFrom

source ·
pub trait TryFrom<T>: Sized {
    type Err;

    fn try_from(_: T) -> Result<Self, Self::Err>;
}
Expand description

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

Attempt to construct Self via a conversion.

Required Associated Types

The type returned in the event of a conversion error.

Required Methods

Performs the conversion.

Implementations on Foreign Types

Implementors