pub enum Rmsg {
Ok(Vec<u8>),
Error(String),
Nack(String),
}
Expand description
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 Eq for Rmsg
impl StructuralPartialEq for Rmsg
Auto Trait Implementations§
impl Freeze for Rmsg
impl RefUnwindSafe for Rmsg
impl Send for Rmsg
impl Sync for Rmsg
impl Unpin for Rmsg
impl UnwindSafe for Rmsg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more