pub enum BindAddr {
Tcp(SocketAddr),
Unix(PathBuf),
Other(String),
}Variants§
Tcp(SocketAddr)
Unix(PathBuf)
Other(String)
Backends whose bind concept doesn’t fit the common shapes (e.g. DPDK device + queue), or the fallback for no_std builds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BindAddr
impl RefUnwindSafe for BindAddr
impl Send for BindAddr
impl Sync for BindAddr
impl Unpin for BindAddr
impl UnsafeUnpin for BindAddr
impl UnwindSafe for BindAddr
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