pub struct DnsOption {
pub code: u16,
pub data: Vec<u8>,
}
Fields§
§code: u16
§data: Vec<u8>
Trait Implementations§
source§impl PartialEq for DnsOption
impl PartialEq for DnsOption
impl Eq for DnsOption
impl StructuralPartialEq for DnsOption
Auto Trait Implementations§
impl RefUnwindSafe for DnsOption
impl Send for DnsOption
impl Sync for DnsOption
impl Unpin for DnsOption
impl UnwindSafe for DnsOption
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