pub struct UdpListen(pub SocketAddr);
Tuple Fields§
§0: SocketAddr
Trait Implementations§
source§impl Specifier for UdpListen
impl Specifier for UdpListen
source§fn construct(&self, p: ConstructParams) -> PeerConstructor
fn construct(&self, p: ConstructParams) -> PeerConstructor
Apply the specifier for constructing a “socket” or other connecting device.
fn uses_global_state(&self) -> bool
fn is_multiconnect(&self) -> bool
Auto Trait Implementations§
impl Freeze for UdpListen
impl RefUnwindSafe for UdpListen
impl Send for UdpListen
impl Sync for UdpListen
impl Unpin for UdpListen
impl UnwindSafe for UdpListen
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