pub struct TcpWaiter {
pub addr: IpAddr,
pub port: u16,
}
Expand description
Listens on a specific IP Address and Port using TCP protocol
Fields§
§addr: IpAddr
§port: u16
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcpWaiter
impl RefUnwindSafe for TcpWaiter
impl Send for TcpWaiter
impl Sync for TcpWaiter
impl Unpin for TcpWaiter
impl UnwindSafe for TcpWaiter
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