[][src]Struct libdoh::Globals

pub struct Globals {
    pub listen_address: SocketAddr,
    pub local_bind_address: SocketAddr,
    pub server_address: SocketAddr,
    pub path: String,
    pub max_clients: usize,
    pub timeout: Duration,
    pub clients_count: ClientsCount,
    pub min_ttl: u32,
    pub max_ttl: u32,
    pub err_ttl: u32,
    pub keepalive: bool,
    pub disable_post: bool,
    pub runtime_handle: Handle,
}

Fields

listen_address: SocketAddrlocal_bind_address: SocketAddrserver_address: SocketAddrpath: Stringmax_clients: usizetimeout: Durationclients_count: ClientsCountmin_ttl: u32max_ttl: u32err_ttl: u32keepalive: booldisable_post: boolruntime_handle: Handle

Trait Implementations

impl Debug for Globals[src]

Auto Trait Implementations

impl !RefUnwindSafe for Globals

impl Send for Globals

impl Sync for Globals

impl Unpin for Globals

impl !UnwindSafe for Globals

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.