pub enum SockAddr {
Std(SocketAddr),
TokioUnix(SocketAddr),
}
Available on crate feature
tokio
only.Variants§
Std(SocketAddr)
TokioUnix(SocketAddr)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SockAddr
impl Send for SockAddr
impl Sync for SockAddr
impl Unpin for SockAddr
impl UnwindSafe for SockAddr
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