pub trait ResponseOps: MessageOps {
// Provided methods
fn response_status(&self) -> ResponseStatus { ... }
fn set_response_status(&mut self, status: ResponseStatus) { ... }
}
Expand description
Generic functions for Response type messages.
Provided Methods§
Sourcefn response_status(&self) -> ResponseStatus
fn response_status(&self) -> ResponseStatus
Gets the Response status of the message.
Sourcefn set_response_status(&mut self, status: ResponseStatus)
fn set_response_status(&mut self, status: ResponseStatus)
Sets the Response status of the message.