Struct smoltcp::wire::NdiscRedirectedHeader
source · pub struct NdiscRedirectedHeader<'a> {
pub header: Ipv6Repr,
pub data: &'a [u8],
}
Fields§
§header: Ipv6Repr
§data: &'a [u8]
Trait Implementations§
source§impl<'a> Clone for RedirectedHeader<'a>
impl<'a> Clone for RedirectedHeader<'a>
source§fn clone(&self) -> RedirectedHeader<'a>
fn clone(&self) -> RedirectedHeader<'a>
Returns a copy 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<'a> Debug for RedirectedHeader<'a>
impl<'a> Debug for RedirectedHeader<'a>
source§impl<'a> PartialEq<RedirectedHeader<'a>> for RedirectedHeader<'a>
impl<'a> PartialEq<RedirectedHeader<'a>> for RedirectedHeader<'a>
source§fn eq(&self, other: &RedirectedHeader<'a>) -> bool
fn eq(&self, other: &RedirectedHeader<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.