Docs.rs
  • tycho-network-0.2.12
    • tycho-network 0.2.12
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • Rexagon
    • Mododo
    • Dependencies
      • ahash ^0.8 normal
      • anyhow ^1.0.79 normal
      • arc-swap ^1.6.0 normal
      • base64 ^0.22.0 normal
      • bytes ^1.9.0 normal
      • bytesize ^1.3.0 normal
      • castaway ^0.2 normal
      • dashmap ^6.1.0 normal
      • ed25519 ^2.0 normal
      • exponential-backoff ^1.2.1 normal
      • futures-util ^0.3 normal
      • hex ^0.4 normal
      • indexmap ^2.2 normal
      • metrics ^0.24 normal
      • moka ^0.12 normal
      • parking_lot ^0.12.1 normal
      • pin-project-lite ^0.2 normal
      • pkcs8 ^0.10 normal
      • quinn ^0.11.8 normal
      • rand ^0.9 normal
      • ring ^0.17.14 normal
      • rustls ^0.23.28 normal
      • rustls-pki-types ^1.12 normal
      • rustls-webpki ^0.103.3 normal
      • serde ^1.0 normal
      • socket2 ^0.5.7 normal
      • thiserror ^2.0 normal
      • tl-proto ^0.5.1 normal
      • tokio ^1 normal
      • tokio-util ^0.7.10 normal
      • tracing ^0.1 normal
      • tycho-crypto ^0.4 normal
      • tycho-util ^0.2.12 normal
      • clap ^4.5.3 dev
      • serde_json ^1.0.114 dev
      • tempfile ^3.10 dev
      • tokio ^1 dev
      • tracing-appender ^0.2.3 dev
      • tracing-subscriber ^0.3 dev
      • tycho-util ^0.2.12 dev
    • Versions
    • 38.69% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

tycho_network0.2.12

ToSocket

Required Methods

  • to_socket

Implementations on Foreign Types

  • &[SocketAddr]
  • &str
  • (&str, u16)
  • (IpAddr, u16)
  • (Ipv4Addr, u16)
  • (Ipv6Addr, u16)
  • (String, u16)
  • SocketAddr
  • SocketAddrV4
  • SocketAddrV6
  • String
  • UdpSocket

Implementors

In crate tycho_network

tycho_network

Trait ToSocket

Source
pub trait ToSocket {
    // Required method
    fn to_socket(self) -> Result<UdpSocket, BindError>;
}

Required Methods§

Source

fn to_socket(self) -> Result<UdpSocket, BindError>

Implementations on Foreign Types§

Source§

impl ToSocket for &str

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for &[SocketAddr]

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for (&str, u16)

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for (IpAddr, u16)

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for (String, u16)

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for (Ipv4Addr, u16)

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for (Ipv6Addr, u16)

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for SocketAddr

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for String

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for SocketAddrV4

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for SocketAddrV6

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Source§

impl ToSocket for UdpSocket

Source§

fn to_socket(self) -> Result<UdpSocket, BindError>

Implementors§

Source§

impl ToSocket for Address