pub struct Listener {
pub process: Process,
pub socket: SocketAddr,
pub protocol: Protocol,
}Expand description
A process listening on a socket.
Fields§
§process: ProcessThe listening process.
socket: SocketAddrThe socket this listener is listening on.
protocol: ProtocolThe protocol used.
Trait Implementations§
impl Eq for Listener
impl StructuralPartialEq for Listener
Auto Trait Implementations§
impl Freeze for Listener
impl RefUnwindSafe for Listener
impl Send for Listener
impl Sync for Listener
impl Unpin for Listener
impl UnwindSafe for Listener
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