pub trait Request: Serialize + 'static {
type Response: Debug + DeserializeOwned + Clone;
type Error: Debug + DeserializeOwned + Clone;
const METHOD: Method;
const ROUTE: &'static str;
}Required Associated Constants§
Required Associated Types§
type Response: Debug + DeserializeOwned + Clone
type Error: Debug + DeserializeOwned + Clone
Object Safety§
This trait is not object safe.