[−][src]Struct cap_async_std::net::Catalog
Implementations
impl Catalog
[src]
pub async fn bind_tcp_listener<'_, A: ToSocketAddrs>(
&'_ self,
addr: A
) -> Result<TcpListener>
[src]
&'_ self,
addr: A
) -> Result<TcpListener>
pub async fn connect_tcp_stream<'_, A: ToSocketAddrs>(
&'_ self,
addr: A
) -> Result<TcpStream>
[src]
&'_ self,
addr: A
) -> Result<TcpStream>
pub async fn bind_udp_socket<'_, A: ToSocketAddrs>(
&'_ self,
addr: A
) -> Result<UdpSocket>
[src]
&'_ self,
addr: A
) -> Result<UdpSocket>
pub async fn send_to_udp_socket_addr<'_, '_, '_, A: ToSocketAddrs>(
&'_ self,
udp_socket: &'_ UdpSocket,
buf: &'_ [u8],
addr: A
) -> Result<usize>
[src]
&'_ self,
udp_socket: &'_ UdpSocket,
buf: &'_ [u8],
addr: A
) -> Result<usize>
pub async fn connect_udp_socket<'_, '_, A: ToSocketAddrs>(
&'_ self,
udp_socket: &'_ UdpSocket,
addr: A
) -> Result<()>
[src]
&'_ self,
udp_socket: &'_ UdpSocket,
addr: A
) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for Catalog
impl Send for Catalog
impl Sync for Catalog
impl Unpin for Catalog
impl UnwindSafe for Catalog
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,