#[repr(u16)]pub enum EDNSOptionCode {
ECS = 8,
Cookie = 10,
Padding = 12,
ExtendedDnsError = 15,
}Variants§
Trait Implementations§
Source§impl Clone for EDNSOptionCode
impl Clone for EDNSOptionCode
Source§fn clone(&self) -> EDNSOptionCode
fn clone(&self) -> EDNSOptionCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EDNSOptionCode
Source§impl Debug for EDNSOptionCode
impl Debug for EDNSOptionCode
Source§impl Display for EDNSOptionCode
impl Display for EDNSOptionCode
impl Eq for EDNSOptionCode
Source§impl PartialEq for EDNSOptionCode
impl PartialEq for EDNSOptionCode
impl StructuralPartialEq for EDNSOptionCode
Auto Trait Implementations§
impl Freeze for EDNSOptionCode
impl RefUnwindSafe for EDNSOptionCode
impl Send for EDNSOptionCode
impl Sync for EDNSOptionCode
impl Unpin for EDNSOptionCode
impl UnsafeUnpin for EDNSOptionCode
impl UnwindSafe for EDNSOptionCode
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