Struct shadowsocks_service::local::dns::server::DnsTcpServer
source · pub struct DnsTcpServer { /* private fields */ }
Expand description
DNS TCP server instance
Implementations§
source§impl DnsTcpServer
impl DnsTcpServer
sourcepub fn local_addr(&self) -> Result<SocketAddr>
pub fn local_addr(&self) -> Result<SocketAddr>
Get server local address
Auto Trait Implementations§
impl !Freeze for DnsTcpServer
impl !RefUnwindSafe for DnsTcpServer
impl Send for DnsTcpServer
impl Sync for DnsTcpServer
impl Unpin for DnsTcpServer
impl !UnwindSafe for DnsTcpServer
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