|
|
@ -57,6 +57,15 @@ impl From<Box<dyn Error>> for Rear {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
impl From<std::io::Error> for Rear {
|
|
|
|
|
|
|
|
fn from(error: std::io::Error) -> Self {
|
|
|
|
|
|
|
|
Self {
|
|
|
|
|
|
|
|
message: error.to_string(),
|
|
|
|
|
|
|
|
error: error.into(),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[cfg(feature = "serde_json")]
|
|
|
|
#[cfg(feature = "serde_json")]
|
|
|
|
impl From<serde_json::Error> for Rear {
|
|
|
|
impl From<serde_json::Error> for Rear {
|
|
|
|
fn from(error: serde_json::Error) -> Self {
|
|
|
|
fn from(error: serde_json::Error) -> Self {
|
|
|
|