Support conversion from ca tags

This commit is contained in:
Dominik Werder
2022-05-04 16:38:54 +02:00
parent 165ddf316d
commit 775650c2d8
2 changed files with 45 additions and 3 deletions

View File

@@ -295,6 +295,12 @@ impl From<FromUtf8Error> for Error {
}
}
impl From<std::str::Utf8Error> for Error {
fn from(k: std::str::Utf8Error) -> Self {
Self::with_msg(k.to_string())
}
}
/*
impl<T: fmt::Debug> From<nom::Err<T>> for Error {
fn from(k: nom::Err<T>) -> Self {