[][src]Struct cap_async_std::net::Catalog

pub struct Catalog { /* fields omitted */ }

Implementations

impl Catalog[src]

pub async fn bind_tcp_listener<'_, A: ToSocketAddrs>(
    &'_ self,
    addr: A
) -> Result<TcpListener>
[src]

pub async fn connect_tcp_stream<'_, A: ToSocketAddrs>(
    &'_ self,
    addr: A
) -> Result<TcpStream>
[src]

pub async fn bind_udp_socket<'_, A: ToSocketAddrs>(
    &'_ self,
    addr: A
) -> Result<UdpSocket>
[src]

pub async fn send_to_udp_socket_addr<'_, '_, '_, A: ToSocketAddrs>(
    &'_ self,
    udp_socket: &'_ UdpSocket,
    buf: &'_ [u8],
    addr: A
) -> Result<usize>
[src]

pub async fn connect_udp_socket<'_, '_, A: ToSocketAddrs>(
    &'_ self,
    udp_socket: &'_ UdpSocket,
    addr: A
) -> Result<()>
[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.