Docs.rs
  • ya-relay-stack-0.4.1
    • ya-relay-stack 0.4.1
    • Docs.rs crate page
    • LGPL-3.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • nieznanysprawiciel
    • wkargul
    • github:golemfactory:core-dev
    • Dependencies
      • derive_more ^0.99 normal
      • futures ^0.3 normal
      • lazy_static ^1 normal
      • log ^0.4 normal
      • managed ^0.8 normal
      • num-derive ^0.3 normal
      • num-traits ^0.2 normal
      • rand ^0.8 normal
      • thiserror ^1.0 normal
      • tokio ^1 normal
      • tokio-stream ^0.1 normal
      • ya-relay-util ^0.1 normal
      • ya-smoltcp ^0.1 normal
      • anyhow ^1.0 dev
      • hex ^0.4 dev
      • sha3 ^0.8 dev
      • tokio ^1 dev
    • Versions
    • 16.86% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • 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
logo

logo

Module socket

  • Structs
  • Enums
  • Constants
  • Traits
  • Functions
?
Change settings

Module ya_relay_stack::socket

source ·

Structs

Memory
Buffer size bounds used in auto tuning. Currently, only max is used; other values are reserved for future use
SocketDesc
Socket quintuplet
SocketMemory
TCP_ACK_DELAY
TCP_KEEP_ALIVE
TCP_NAGLE_ENABLED
TCP_TIMEOUT

Enums

SocketEndpoint
Socket endpoint kind
SocketState

Constants

ENV_VAR_TCP_ACK_DELAY
ENV_VAR_TCP_KEEP_ALIVE
ENV_VAR_TCP_NAGLE
ENV_VAR_TCP_TIMEOUT
TCP_CONN_TIMEOUT
TCP_DISCONN_TIMEOUT

Traits

SocketExt
Common interface for various socket types
TcpSocketExt

Functions

icmp_socket
raw_socket
tcp_socket
udp_socket