Trait expect_macro::IntoResult [] [src]

pub trait IntoResult<T, E> {
    fn into_result(self) -> Result<T, E>;
}

Used to ensure either Option or Result are the Result type.

Required Methods

Implementations on Foreign Types

impl<T, E> IntoResult<T, E> for Result<T, E>
[src]

[src]

impl<T> IntoResult<T, &'static str> for Option<T>
[src]

[src]

Implementors