Enum zenoh_protocol::scouting::ScoutingBody
source · pub enum ScoutingBody {
Scout(Scout),
Hello(Hello),
}Variants§
Trait Implementations§
source§impl Clone for ScoutingBody
impl Clone for ScoutingBody
source§fn clone(&self) -> ScoutingBody
fn clone(&self) -> ScoutingBody
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 ScoutingBody
impl Debug for ScoutingBody
source§impl From<ScoutingBody> for ScoutingMessage
impl From<ScoutingBody> for ScoutingMessage
source§fn from(body: ScoutingBody) -> Self
fn from(body: ScoutingBody) -> Self
Converts to this type from the input type.
source§impl PartialEq for ScoutingBody
impl PartialEq for ScoutingBody
source§fn eq(&self, other: &ScoutingBody) -> bool
fn eq(&self, other: &ScoutingBody) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ScoutingBody
impl StructuralPartialEq for ScoutingBody
Auto Trait Implementations§
impl Freeze for ScoutingBody
impl RefUnwindSafe for ScoutingBody
impl Send for ScoutingBody
impl Sync for ScoutingBody
impl Unpin for ScoutingBody
impl UnwindSafe for ScoutingBody
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