[−][src]Struct cap_std::net::Catalog
Implementations
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<()>
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,
pub 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.
pub 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>,