Struct chrootable_https::dns::DnsConfig [−][src]
pub struct DnsConfig {
pub ns: Vec<SocketAddr>,
}Fields
ns: Vec<SocketAddr>
Methods
impl DnsConfig[src]
impl DnsConfigpub fn from_system() -> Result<DnsConfig>[src]
pub fn from_system() -> Result<DnsConfig>Trait Implementations
impl Debug for DnsConfig[src]
impl Debug for DnsConfigfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for DnsConfig[src]
impl Clone for DnsConfigfn clone(&self) -> DnsConfig[src]
fn clone(&self) -> DnsConfigReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for DnsConfig[src]
impl PartialEq for DnsConfigfn eq(&self, other: &DnsConfig) -> bool[src]
fn eq(&self, other: &DnsConfig) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DnsConfig) -> bool[src]
fn ne(&self, other: &DnsConfig) -> boolThis method tests for !=.
impl Default for DnsConfig[src]
impl Default for DnsConfig