Struct sawp_dns::edns::EdnsOption
source · [−]pub struct EdnsOption {
pub code: OptionCode,
pub data: Vec<u8>,
}
Fields
code: OptionCode
data: Vec<u8>
Implementations
Trait Implementations
sourceimpl Debug for EdnsOption
impl Debug for EdnsOption
sourceimpl PartialEq<EdnsOption> for EdnsOption
impl PartialEq<EdnsOption> for EdnsOption
sourcefn eq(&self, other: &EdnsOption) -> bool
fn eq(&self, other: &EdnsOption) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EdnsOption) -> bool
fn ne(&self, other: &EdnsOption) -> bool
This method tests for !=
.
impl StructuralPartialEq for EdnsOption
Auto Trait Implementations
impl RefUnwindSafe for EdnsOption
impl Send for EdnsOption
impl Sync for EdnsOption
impl Unpin for EdnsOption
impl UnwindSafe for EdnsOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more