Struct message_io::network::adapter::ListeningInfo
source · pub struct ListeningInfo<L: Local> {
pub local: L,
pub local_addr: SocketAddr,
}
Expand description
Plain struct used as a returned value of Local::listen_with()
Fields§
§local: L
The new created local resource
local_addr: SocketAddr
Local address generated after perform the listening action.
Auto Trait Implementations§
impl<L> RefUnwindSafe for ListeningInfo<L>where
L: RefUnwindSafe,
impl<L> Send for ListeningInfo<L>
impl<L> Sync for ListeningInfo<L>
impl<L> Unpin for ListeningInfo<L>where
L: Unpin,
impl<L> UnwindSafe for ListeningInfo<L>where
L: UnwindSafe,
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