Trait fizyr_rpc::Body [−][src]
pub trait Body: Send + Sync + 'static { fn from_error(message: &str) -> Self; }
Expand description
Trait for types that can be used as message body.
Required methods
fn from_error(message: &str) -> Self
[src]
fn from_error(message: &str) -> Self
[src]Create a message body from an error message.
Implementors
impl Body for StreamBody
[src]
impl Body for StreamBody
[src]