Enum mux::Rmsg
[−]
[src]
pub enum Rmsg { Ok(Vec<u8>), Error(String), Nack(String), }
Representation of a mux Rreq
and Rdispatch
message body.
Variants
Ok(Vec<u8>)
Successful response containing a body.
Error(String)
Response failed. The String
describes the error.
Nack(String)
Negative acknowledgment. The String
describes the reason.
Trait Implementations
impl PartialEq for Rmsg
[src]
fn eq(&self, __arg_0: &Rmsg) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Rmsg) -> bool
This method tests for !=
.