teo_result/conversion/
std_io.rs

1
2
3
4
5
6
7
8
use crate::Error;

impl From<std::io::Error> for Error {

    fn from(value: std::io::Error) -> Self {
        Self::new(format!("{}", value))
    }
}