[−][src]Trait strerror::IntoErr
Trait providing into_err
for converting a
String
, &str
or error to an Err
variant Result
.
into_err
has a very simple implementation:
Err(self.into())
, which is similar to how the ?
operator
returns errors.
See crate level documentation for usage examples.