Struct network_clique::protocols::negotiation::ProtocolsRange   
source · pub struct ProtocolsRange(u32, u32);Expand description
A range of supported protocols, will fail to decode if the range is empty.
Tuple Fields§
§0: u32§1: u32Implementations§
Trait Implementations§
source§impl Clone for ProtocolsRange
 
impl Clone for ProtocolsRange
source§fn clone(&self) -> ProtocolsRange
 
fn clone(&self) -> ProtocolsRange
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 ProtocolsRange
 
impl Debug for ProtocolsRange
source§impl Display for ProtocolsRange
 
impl Display for ProtocolsRange
source§impl PartialEq for ProtocolsRange
 
impl PartialEq for ProtocolsRange
source§fn eq(&self, other: &ProtocolsRange) -> bool
 
fn eq(&self, other: &ProtocolsRange) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for ProtocolsRange
impl StructuralPartialEq for ProtocolsRange
Auto Trait Implementations§
impl RefUnwindSafe for ProtocolsRange
impl Send for ProtocolsRange
impl Sync for ProtocolsRange
impl Unpin for ProtocolsRange
impl UnwindSafe for ProtocolsRange
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 Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.