Struct etherparse::icmpv4::RedirectHeader
source · pub struct RedirectHeader {
pub code: RedirectCode,
pub gateway_internet_address: [u8; 4],
}
Fields§
§code: RedirectCode
§gateway_internet_address: [u8; 4]
Trait Implementations§
source§impl Clone for RedirectHeader
impl Clone for RedirectHeader
source§fn clone(&self) -> RedirectHeader
fn clone(&self) -> RedirectHeader
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 Debug for RedirectHeader
impl Debug for RedirectHeader
source§impl PartialEq for RedirectHeader
impl PartialEq for RedirectHeader
impl Eq for RedirectHeader
impl StructuralPartialEq for RedirectHeader
Auto Trait Implementations§
impl Freeze for RedirectHeader
impl RefUnwindSafe for RedirectHeader
impl Send for RedirectHeader
impl Sync for RedirectHeader
impl Unpin for RedirectHeader
impl UnwindSafe for RedirectHeader
Blanket Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)