Trait Metadata
toy_rpc::message
pub trait Metadata { fn get_id(&self) -> MessageId; }
Returning the metadata
fn get_id(&self) -> MessageId
impl Metadata for RequestHeader
impl Metadata for ResponseHeader