[][src]Trait fizyr_rpc::Body

pub trait Body: Send + Sync + 'static {
    fn from_error(message: &str) -> Self;
}

Trait for types that can be used as message body.

Required methods

fn from_error(message: &str) -> Self

Create a message body from an error message.

Loading content...

Implementors

impl Body for StreamBody[src]

impl Body for UnixBody[src]

Loading content...