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
Auto 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