Struct cap_std::net::Catalog [−][src]
pub struct Catalog { /* fields omitted */ }
Implementations
impl Catalog
[src]
impl Catalog
[src]pub fn bind_tcp_listener<A: ToSocketAddrs>(
&self,
addr: A
) -> Result<TcpListener>
[src]
&self,
addr: A
) -> Result<TcpListener>
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]
&self,
addr: &SocketAddr,
timeout: Duration
) -> Result<TcpStream>
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]
&self,
udp_socket: &UdpSocket,
buf: &[u8],
addr: A
) -> Result<usize>
pub fn connect_udp_socket<A: ToSocketAddrs>(
&self,
udp_socket: &UdpSocket,
addr: A
) -> Result<()>
[src]
&self,
udp_socket: &UdpSocket,
addr: A
) -> Result<()>