std::net::AddrParseError
pub struct AddrParseError(/* private fields */)
- Kind
- struct
- Module
std::net- Since
- 1.0.0
Source: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
The entries of std::net in the Rust reference. This page has 168 cards.
pub struct AddrParseError(/* private fields */)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn hostname() -> Result<OsString>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Incoming<'a>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct IntoIncoming
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub enum IpAddr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_octets(&self) -> &[u8]
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_benchmarking(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_documentation(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_global(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ipv4(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ipv6(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_loopback(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_multicast(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_unspecified(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn parse_ascii(b: &[u8]) -> Result<IpAddr, AddrParseError>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_canonical(&self) -> IpAddr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Ipv4Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_octets(&self) -> &[u8; 4]
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const BITS: u32 = 32
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const BROADCAST: Ipv4Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_bits(bits: u32) -> Ipv4Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_octets(octets: [u8; 4]) -> Ipv4Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_benchmarking(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_broadcast(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_documentation(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_global(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_link_local(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_loopback(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_multicast(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_private(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_reserved(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_shared(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_unspecified(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const LOCALHOST: Ipv4Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn new(a: u8, b: u8, c: u8, d: u8) -> Ipv4Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn octets(&self) -> [u8; 4]
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn parse_ascii(b: &[u8]) -> Result<Ipv4Addr, AddrParseError>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_bits(self) -> u32
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_ipv6_compatible(&self) -> Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_ipv6_mapped(&self) -> Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const UNSPECIFIED: Ipv4Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_octets(&self) -> &[u8; 16]
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const BITS: u32 = 128
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_bits(bits: u128) -> Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_octets(octets: [u8; 16]) -> Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn from_segments(segments: [u16; 8]) -> Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_benchmarking(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_documentation(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_global(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ipv4_mapped(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_loopback(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_multicast(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_unicast(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_unicast_global(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_unicast_link_local(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_unique_local(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_unspecified(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const LOCALHOST: Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn multicast_scope(&self) -> Option<Ipv6MulticastScope>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn new( a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16, h: u16, ) -> Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn octets(&self) -> [u8; 16]
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn parse_ascii(b: &[u8]) -> Result<Ipv6Addr, AddrParseError>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn segments(&self) -> [u16; 8]
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_bits(self) -> u128
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_canonical(&self) -> IpAddr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_ipv4(&self) -> Option<Ipv4Addr>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn to_ipv4_mapped(&self) -> Option<Ipv4Addr>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const UNSPECIFIED: Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub enum Ipv6MulticastScope
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub enum Shutdown
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub enum SocketAddr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn ip(&self) -> IpAddr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ipv4(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_ipv6(&self) -> bool
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn new(ip: IpAddr, port: u16) -> SocketAddr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn parse_ascii(b: &[u8]) -> Result<SocketAddr, AddrParseError>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn port(&self) -> u16
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn set_ip(&mut self, new_ip: IpAddr)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn set_port(&mut self, new_port: u16)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct SocketAddrV4
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn ip(&self) -> &Ipv4Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn new(ip: Ipv4Addr, port: u16) -> SocketAddrV4
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn parse_ascii(b: &[u8]) -> Result<SocketAddrV4, AddrParseError>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn port(&self) -> u16
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn set_ip(&mut self, new_ip: Ipv4Addr)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn set_port(&mut self, new_port: u16)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct SocketAddrV6
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn flowinfo(&self) -> u32
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn ip(&self) -> &Ipv6Addr
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn new( ip: Ipv6Addr, port: u16, flowinfo: u32, scope_id: u32, ) -> SocketAddrV6
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn parse_ascii(b: &[u8]) -> Result<SocketAddrV6, AddrParseError>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn port(&self) -> u16
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn scope_id(&self) -> u32
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn set_flowinfo(&mut self, new_flowinfo: u32)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn set_ip(&mut self, new_ip: Ipv6Addr)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn set_port(&mut self, new_port: u16)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn set_scope_id(&mut self, new_scope_id: u32)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct TcpListener(/* private fields */)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn accept(&self) -> Result<(TcpStream, SocketAddr)>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn bind<A: ToSocketAddrs>(addr: A) -> Result<TcpListener>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn incoming(&self) -> Incoming<'_>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn into_incoming(self) -> IntoIncoming
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn local_addr(&self) -> Result<SocketAddr>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn only_v6(&self) -> Result<bool>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_nonblocking(&self, nonblocking: bool) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_only_v6(&self, only_v6: bool) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_ttl(&self, ttl: u32) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn take_error(&self) -> Result<Option<Error>>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn try_clone(&self) -> Result<TcpListener>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn ttl(&self) -> Result<u32>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct TcpStream(/* private fields */)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn connect<A: ToSocketAddrs>(addr: A) -> Result<TcpStream>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn connect_timeout( addr: &SocketAddr, timeout: Duration, ) -> Result<TcpStream>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn keepalive(&self) -> Result<bool>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn linger(&self) -> Result<Option<Duration>>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn local_addr(&self) -> Result<SocketAddr>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn nodelay(&self) -> Result<bool>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn peek(&self, buf: &mut [u8]) -> Result<usize>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn peer_addr(&self) -> Result<SocketAddr>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn read_timeout(&self) -> Result<Option<Duration>>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_keepalive(&self, keepalive: bool) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_linger(&self, linger: Option<Duration>) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_nodelay(&self, nodelay: bool) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_nonblocking(&self, nonblocking: bool) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_read_timeout(&self, dur: Option<Duration>) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_ttl(&self, ttl: u32) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_write_timeout(&self, dur: Option<Duration>) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn shutdown(&self, how: Shutdown) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn take_error(&self) -> Result<Option<Error>>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn try_clone(&self) -> Result<TcpStream>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn ttl(&self) -> Result<u32>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn write_timeout(&self) -> Result<Option<Duration>>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub trait ToSocketAddrs
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
type Iter: Iterator<Item = SocketAddr>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
fn to_socket_addrs(&self) -> Result<Self::Iter>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct UdpSocket(/* private fields */)
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn bind<A: ToSocketAddrs>(addr: A) -> Result<UdpSocket>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn broadcast(&self) -> Result<bool>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn connect<A: ToSocketAddrs>(&self, addr: A) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn join_multicast_v4( &self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr, ) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn join_multicast_v6( &self, multiaddr: &Ipv6Addr, interface: u32, ) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn leave_multicast_v4( &self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr, ) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn leave_multicast_v6( &self, multiaddr: &Ipv6Addr, interface: u32, ) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn local_addr(&self) -> Result<SocketAddr>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn multicast_loop_v4(&self) -> Result<bool>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn multicast_loop_v6(&self) -> Result<bool>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn multicast_ttl_v4(&self) -> Result<u32>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn peek(&self, buf: &mut [u8]) -> Result<usize>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn peek_from(&self, buf: &mut [u8]) -> Result<(usize, SocketAddr)>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn peer_addr(&self) -> Result<SocketAddr>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn read_timeout(&self) -> Result<Option<Duration>>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn recv(&self, buf: &mut [u8]) -> Result<usize>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn recv_from(&self, buf: &mut [u8]) -> Result<(usize, SocketAddr)>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn send(&self, buf: &[u8]) -> Result<usize>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn send_to<A: ToSocketAddrs>(&self, buf: &[u8], addr: A) -> Result<usize>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_broadcast(&self, broadcast: bool) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_multicast_loop_v4(&self, multicast_loop_v4: bool) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_multicast_loop_v6(&self, multicast_loop_v6: bool) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_multicast_ttl_v4(&self, multicast_ttl_v4: u32) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_nonblocking(&self, nonblocking: bool) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_read_timeout(&self, dur: Option<Duration>) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_ttl(&self, ttl: u32) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn set_write_timeout(&self, dur: Option<Duration>) -> Result<()>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn take_error(&self) -> Result<Option<Error>>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn try_clone(&self) -> Result<UdpSocket>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn ttl(&self) -> Result<u32>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn write_timeout(&self) -> Result<Option<Duration>>
std::netSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.