teo_result/conversion/
infallible.rs

1use std::convert::Infallible;
2use crate::Error;
3
4impl From<Infallible> for Error {
5    fn from(value: Infallible) -> Self {
6        Self::new(format!("{}", value))
7    }
8}