pub struct Dns { /* private fields */ }
Expand description
DNS Relay server
Implementations
Create a new DNS Relay server
pub fn with_context(
context: Arc<ServiceContext>,
local_addr: NameServerAddr,
remote_addr: Address
) -> Dns
pub fn with_context(
context: Arc<ServiceContext>,
local_addr: NameServerAddr,
remote_addr: Address
) -> Dns
Create with an existed context
Run server
Auto Trait Implementations
impl !RefUnwindSafe for Dns
impl !UnwindSafe for Dns
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more