pub struct ProtocolMeta {
pub version: Version,
pub kind: ProtocolKind,
}Expand description
Per-protocol metadata stored in the peer pool.
Fields§
§version: Version§kind: ProtocolKindTrait Implementations§
Source§impl Clone for ProtocolMeta
impl Clone for ProtocolMeta
Source§fn clone(&self) -> ProtocolMeta
fn clone(&self) -> ProtocolMeta
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ProtocolMeta
impl RefUnwindSafe for ProtocolMeta
impl Send for ProtocolMeta
impl Sync for ProtocolMeta
impl Unpin for ProtocolMeta
impl UnsafeUnpin for ProtocolMeta
impl UnwindSafe for ProtocolMeta
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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