pub trait Request {
type Response;
const METHOD: &'static str;
const HAS_PAYLOAD: bool = true;
// Provided method
fn no_payload(&self) -> bool { ... }
}
pub trait Request {
type Response;
const METHOD: &'static str;
const HAS_PAYLOAD: bool = true;
// Provided method
fn no_payload(&self) -> bool { ... }
}