pub struct ProtocolMeta {
pub version: Version,
pub flags: ProtocolFlags,
}Expand description
Per-protocol metadata stored in the peer pool.
Fields§
§version: Version§flags: ProtocolFlagsTrait Implementations§
Source§impl Clone for ProtocolMeta
impl Clone for ProtocolMeta
Auto 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