pub struct Listening {
pub socket: SocketAddr,
/* private fields */
}Expand description
A listening server, which can later be closed.
Fields§
§socket: SocketAddrThe socket addresses that the server is bound to.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Listening
impl !UnwindSafe for Listening
impl Freeze for Listening
impl Send for Listening
impl Sync for Listening
impl Unpin for Listening
impl UnsafeUnpin for Listening
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