pub trait Request<const N: usize, const M: usize>: Sized {
type Payload: Sized;
type Response: Response<M>;
// Required methods
fn priority(&self) -> Priority;
fn service(&self) -> ServiceId;
fn destination(&self) -> NodeId;
fn source(&self) -> NodeId;
fn payload(&self) -> &[u8];
}Expand description
Represents a resquest sent to a service
Required Associated Types§
Required Methods§
sourcefn destination(&self) -> NodeId
fn destination(&self) -> NodeId
Returns the destination Node ID the request is intended for
Object Safety§
This trait is not object safe.