Enum doh_client::dns::UdpListenSocket
source · pub enum UdpListenSocket {
Addr(SocketAddr),
Activation,
}Variants
Addr(SocketAddr)
Activation
Trait Implementations
sourceimpl Clone for UdpListenSocket
impl Clone for UdpListenSocket
sourcefn clone(&self) -> UdpListenSocket
fn clone(&self) -> UdpListenSocket
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Display for UdpListenSocket
impl Display for UdpListenSocket
impl Copy for UdpListenSocket
Auto Trait Implementations
impl RefUnwindSafe for UdpListenSocket
impl Send for UdpListenSocket
impl Sync for UdpListenSocket
impl Unpin for UdpListenSocket
impl UnwindSafe for UdpListenSocket
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more