[][src]Trait strerror::StringToErrorExt

pub trait StringToErrorExt {
    fn to_error(self) -> StrError;
}

Trait providing to_error for converting a String or &str to a StrError.

See crate level documentation for usage examples.

Required methods

fn to_error(self) -> StrError

Convert a String or &str to a StrError.

Loading content...

Implementors

impl<T> StringToErrorExt for T where
    T: Into<String>, 
[src]

Loading content...