pub struct KadNetMsgHeader {
pub command: KadNetCmd,
}Fields§
§command: KadNetCmdTrait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for KadNetMsgHeader
impl<'__de, __Context> BorrowDecode<'__de, __Context> for KadNetMsgHeader
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for KadNetMsgHeader
impl Clone for KadNetMsgHeader
Source§fn clone(&self) -> KadNetMsgHeader
fn clone(&self) -> KadNetMsgHeader
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 moreSource§impl Debug for KadNetMsgHeader
impl Debug for KadNetMsgHeader
Source§impl<__Context> Decode<__Context> for KadNetMsgHeader
impl<__Context> Decode<__Context> for KadNetMsgHeader
Auto Trait Implementations§
impl Freeze for KadNetMsgHeader
impl RefUnwindSafe for KadNetMsgHeader
impl Send for KadNetMsgHeader
impl Sync for KadNetMsgHeader
impl Unpin for KadNetMsgHeader
impl UnsafeUnpin for KadNetMsgHeader
impl UnwindSafe for KadNetMsgHeader
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