Refactor and add CacheUsage to query params
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
Error handling and reporting.
|
||||
*/
|
||||
|
||||
use http::uri::InvalidUri;
|
||||
use nom::error::ErrorKind;
|
||||
use serde::{Deserialize, Serialize, Serializer};
|
||||
use std::fmt::Debug;
|
||||
@@ -198,6 +199,12 @@ impl<T> From<async_channel::SendError<T>> for Error {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<InvalidUri> for Error {
|
||||
fn from(k: InvalidUri) -> Self {
|
||||
Self::with_msg(k.to_string())
|
||||
}
|
||||
}
|
||||
|
||||
pub fn todoval<T>() -> T {
|
||||
todo!("TODO todoval")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user