teo_result/conversion/
cstr.rs

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