[][src]Trait strerror::StringIntoErrExt

pub trait StringIntoErrExt {
    fn into_err<T, E>(self) -> Result<T, E>
    where
        E: From<StrError>
; }

Trait providing into_err for converting a String or &str to an Err variant Result.

Conversion is performed from the intermediate StrError using into.

See crate level documentation for usage examples.

Required methods

fn into_err<T, E>(self) -> Result<T, E> where
    E: From<StrError>, 

Convert a String or &str to an Err variant Result.

Loading content...

Implementors

impl<S> StringIntoErrExt for S where
    S: Into<String>, 
[src]

Loading content...