enum AddrInner {
Inet(SocketAddr),
Unix(CfgPath),
}
Available on crate feature
address
only.Expand description
Implementation type for CfgAddr
.
This is a separate type because we can’t define an public enum with private members.
Variants§
Inet(SocketAddr)
An internet address (which will not be expanded).
Unix(CfgPath)
A unix domain socket path.
Trait Implementations§
impl Eq for AddrInner
impl StructuralPartialEq for AddrInner
Auto Trait Implementations§
impl Freeze for AddrInner
impl RefUnwindSafe for AddrInner
impl Send for AddrInner
impl Sync for AddrInner
impl Unpin for AddrInner
impl UnwindSafe for AddrInner
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