Enum zenoh_protocol::zenoh::RequestBody
source · pub enum RequestBody {
Query(Query),
Put(Put),
Del(Del),
Pull(Pull),
}Variants§
Trait Implementations§
source§impl Clone for RequestBody
impl Clone for RequestBody
source§fn clone(&self) -> RequestBody
fn clone(&self) -> RequestBody
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 RequestBody
impl Debug for RequestBody
source§impl From<Del> for RequestBody
impl From<Del> for RequestBody
source§fn from(d: Del) -> RequestBody
fn from(d: Del) -> RequestBody
Converts to this type from the input type.
source§impl From<Put> for RequestBody
impl From<Put> for RequestBody
source§fn from(p: Put) -> RequestBody
fn from(p: Put) -> RequestBody
Converts to this type from the input type.
source§impl From<Query> for RequestBody
impl From<Query> for RequestBody
source§fn from(q: Query) -> RequestBody
fn from(q: Query) -> RequestBody
Converts to this type from the input type.
source§impl PartialEq for RequestBody
impl PartialEq for RequestBody
source§fn eq(&self, other: &RequestBody) -> bool
fn eq(&self, other: &RequestBody) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RequestBody
impl StructuralPartialEq for RequestBody
Auto Trait Implementations§
impl Freeze for RequestBody
impl !RefUnwindSafe for RequestBody
impl Send for RequestBody
impl Sync for RequestBody
impl Unpin for RequestBody
impl !UnwindSafe for RequestBody
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