pub struct DnsParserOptions {
    pub lowercase_hostnames: bool,
}Expand description
Options for DNS message parser
Fields§
§lowercase_hostnames: boolWhether hostnames in RData should be lowercased, for consistency
Trait Implementations§
source§impl Clone for DnsParserOptions
 
impl Clone for DnsParserOptions
source§fn clone(&self) -> DnsParserOptions
 
fn clone(&self) -> DnsParserOptions
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 DnsParserOptions
 
impl Debug for DnsParserOptions
source§impl Default for DnsParserOptions
 
impl Default for DnsParserOptions
source§fn default() -> DnsParserOptions
 
fn default() -> DnsParserOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DnsParserOptions
impl RefUnwindSafe for DnsParserOptions
impl Send for DnsParserOptions
impl Sync for DnsParserOptions
impl Unpin for DnsParserOptions
impl UnwindSafe for DnsParserOptions
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)