pub struct KadNetMsgCodec {
inner_codec: LengthCodec,
}Expand description
Length-prefixed bincode codec for the kademlia lookup-plane wire.
Fields§
§inner_codec: LengthCodecImplementations§
Trait Implementations§
Source§impl Clone for KadNetMsgCodec
impl Clone for KadNetMsgCodec
Source§fn clone(&self) -> KadNetMsgCodec
fn clone(&self) -> KadNetMsgCodec
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 KadNetMsgCodec
impl RefUnwindSafe for KadNetMsgCodec
impl Send for KadNetMsgCodec
impl Sync for KadNetMsgCodec
impl Unpin for KadNetMsgCodec
impl UnsafeUnpin for KadNetMsgCodec
impl UnwindSafe for KadNetMsgCodec
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