pub struct NegotiatedCapabilities { /* private fields */ }Expand description
Outcome of a single round of negotiation.
Each entry is (capability name, encoded chosen value). The
caller decodes the value via the registered
crate::cluster::capability::Capability::decode_value of
the matching cap.
Implementations§
Trait Implementations§
Source§impl Clone for NegotiatedCapabilities
impl Clone for NegotiatedCapabilities
Source§fn clone(&self) -> NegotiatedCapabilities
fn clone(&self) -> NegotiatedCapabilities
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NegotiatedCapabilities
impl Debug for NegotiatedCapabilities
Source§impl Default for NegotiatedCapabilities
impl Default for NegotiatedCapabilities
Source§fn default() -> NegotiatedCapabilities
fn default() -> NegotiatedCapabilities
Returns the “default value” for a type. Read more
Source§impl PartialEq for NegotiatedCapabilities
impl PartialEq for NegotiatedCapabilities
Source§fn eq(&self, other: &NegotiatedCapabilities) -> bool
fn eq(&self, other: &NegotiatedCapabilities) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NegotiatedCapabilities
impl StructuralPartialEq for NegotiatedCapabilities
Auto Trait Implementations§
impl Freeze for NegotiatedCapabilities
impl RefUnwindSafe for NegotiatedCapabilities
impl Send for NegotiatedCapabilities
impl Sync for NegotiatedCapabilities
impl Unpin for NegotiatedCapabilities
impl UnsafeUnpin for NegotiatedCapabilities
impl UnwindSafe for NegotiatedCapabilities
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.