Enum zenoh_protocol::zenoh::ResponseBody
source · pub enum ResponseBody {
Reply(Reply),
Err(Err),
Ack(Ack),
Put(Put),
}Variants§
Trait Implementations§
source§impl Clone for ResponseBody
impl Clone for ResponseBody
source§fn clone(&self) -> ResponseBody
fn clone(&self) -> ResponseBody
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ResponseBody
impl Debug for ResponseBody
source§impl From<Ack> for ResponseBody
impl From<Ack> for ResponseBody
source§fn from(r: Ack) -> ResponseBody
fn from(r: Ack) -> ResponseBody
Converts to this type from the input type.
source§impl From<Err> for ResponseBody
impl From<Err> for ResponseBody
source§fn from(r: Err) -> ResponseBody
fn from(r: Err) -> ResponseBody
Converts to this type from the input type.
source§impl From<Reply> for ResponseBody
impl From<Reply> for ResponseBody
source§fn from(r: Reply) -> ResponseBody
fn from(r: Reply) -> ResponseBody
Converts to this type from the input type.
source§impl PartialEq for ResponseBody
impl PartialEq for ResponseBody
source§fn eq(&self, other: &ResponseBody) -> bool
fn eq(&self, other: &ResponseBody) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ResponseBody
impl StructuralPartialEq for ResponseBody
Auto Trait Implementations§
impl Freeze for ResponseBody
impl !RefUnwindSafe for ResponseBody
impl Send for ResponseBody
impl Sync for ResponseBody
impl Unpin for ResponseBody
impl !UnwindSafe for ResponseBody
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