[−][src]Trait mssql_browser::custom_socket::UdpSocketFactory
A trait used to create UdpSocket
instances.
Associated Types
Loading content...Required methods
#[must_use]fn bind<'life0, 'life1, 'async_trait>(
&'life0 mut self,
addr: &'life1 SocketAddr
) -> Pin<Box<dyn Future<Output = Result<Self::Socket, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
addr: &'life1 SocketAddr
) -> Pin<Box<dyn Future<Output = Result<Self::Socket, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Creates a UDP socket from the given address.
Implementors
impl UdpSocketFactory for AsyncStdSocketFactory
[src]
type Error = Error
type Socket = UdpSocket
fn bind<'life0, 'life1, 'async_trait>(
&'life0 mut self,
addr: &'life1 SocketAddr
) -> Pin<Box<dyn Future<Output = Result<Self::Socket, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
addr: &'life1 SocketAddr
) -> Pin<Box<dyn Future<Output = Result<Self::Socket, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,