[][src]Struct cap_std::net::Catalog

pub struct Catalog { /* fields omitted */ }

Implementations

impl Catalog[src]

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

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

pub fn connect_timeout_tcp_stream(
    &self,
    addr: &SocketAddr,
    timeout: Duration
) -> Result<TcpStream>
[src]

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

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

pub 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.