pub enum DstAddr<T: ToSocketAddrs = SocketAddr> {
Some(T),
Region1,
Region2,
Default,
}Variants§
Auto Trait Implementations§
impl<T> Freeze for DstAddr<T>where
T: Freeze,
impl<T> RefUnwindSafe for DstAddr<T>where
T: RefUnwindSafe,
impl<T> Send for DstAddr<T>where
T: Send,
impl<T> Sync for DstAddr<T>where
T: Sync,
impl<T> Unpin for DstAddr<T>where
T: Unpin,
impl<T> UnsafeUnpin for DstAddr<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for DstAddr<T>where
T: UnwindSafe,
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