pub struct EdnsOption {
pub code: EdnsCode,
pub data: Vec<u8>,
}Fields§
§code: EdnsCode§data: Vec<u8>Trait Implementations§
Source§impl Clone for EdnsOption
impl Clone for EdnsOption
Source§fn clone(&self) -> EdnsOption
fn clone(&self) -> EdnsOption
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 EdnsOption
impl Debug for EdnsOption
Source§impl PartialEq for EdnsOption
impl PartialEq for EdnsOption
impl Eq for EdnsOption
impl StructuralPartialEq for EdnsOption
Auto Trait Implementations§
impl Freeze for EdnsOption
impl RefUnwindSafe for EdnsOption
impl Send for EdnsOption
impl Sync for EdnsOption
impl Unpin for EdnsOption
impl UnsafeUnpin for EdnsOption
impl UnwindSafe for EdnsOption
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