Enum zenoh_protocol::core::QueryTarget
source · pub enum QueryTarget {
BestMatching,
All,
AllComplete,
}Expand description
The zenoh::queryable::Queryables that should be target of a zenoh::Session::get().
Variants§
Trait Implementations§
source§impl Clone for QueryTarget
impl Clone for QueryTarget
source§fn clone(&self) -> QueryTarget
fn clone(&self) -> QueryTarget
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 QueryTarget
impl Debug for QueryTarget
source§impl Default for QueryTarget
impl Default for QueryTarget
source§fn default() -> QueryTarget
fn default() -> QueryTarget
Returns the “default value” for a type. Read more
source§impl PartialEq<QueryTarget> for QueryTarget
impl PartialEq<QueryTarget> for QueryTarget
source§fn eq(&self, other: &QueryTarget) -> bool
fn eq(&self, other: &QueryTarget) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for QueryTarget
impl Eq for QueryTarget
impl StructuralEq for QueryTarget
impl StructuralPartialEq for QueryTarget
Auto Trait Implementations§
impl RefUnwindSafe for QueryTarget
impl Send for QueryTarget
impl Sync for QueryTarget
impl Unpin for QueryTarget
impl UnwindSafe for QueryTarget
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more