diff --git a/pr/2965/docs/bulk/all.html b/pr/2965/docs/bulk/all.html index 12bb8cb68f..6e2ab838d9 100644 --- a/pr/2965/docs/bulk/all.html +++ b/pr/2965/docs/bulk/all.html @@ -1 +1 @@ -
pub(crate) fn collect_and_print(
+collect_and_print in bulk - Rust Function bulk::collect_and_print
source · pub(crate) fn collect_and_print(
category: &'static str,
metrics: Option<&impl Iterable>
)
\ No newline at end of file
diff --git a/pr/2965/docs/bulk/fn.main.html b/pr/2965/docs/bulk/fn.main.html
index fa76703229..a99f5b2137 100644
--- a/pr/2965/docs/bulk/fn.main.html
+++ b/pr/2965/docs/bulk/fn.main.html
@@ -1 +1 @@
-main in bulk - Rust
\ No newline at end of file
+main in bulk - Rust
\ No newline at end of file
diff --git a/pr/2965/docs/bulk/fn.run_iroh.html b/pr/2965/docs/bulk/fn.run_iroh.html
index 6510f7dddd..446649a602 100644
--- a/pr/2965/docs/bulk/fn.run_iroh.html
+++ b/pr/2965/docs/bulk/fn.run_iroh.html
@@ -1 +1 @@
-run_iroh in bulk - Rust
\ No newline at end of file
+run_iroh in bulk - Rust
\ No newline at end of file
diff --git a/pr/2965/docs/bulk/fn.run_quinn.html b/pr/2965/docs/bulk/fn.run_quinn.html
index ac639032ac..3ebe0718f9 100644
--- a/pr/2965/docs/bulk/fn.run_quinn.html
+++ b/pr/2965/docs/bulk/fn.run_quinn.html
@@ -1 +1 @@
-run_quinn in bulk - Rust
\ No newline at end of file
+run_quinn in bulk - Rust
\ No newline at end of file
diff --git a/pr/2965/docs/bulk/fn.run_s2n.html b/pr/2965/docs/bulk/fn.run_s2n.html
index 6be09a87a8..9b89bd65c2 100644
--- a/pr/2965/docs/bulk/fn.run_s2n.html
+++ b/pr/2965/docs/bulk/fn.run_s2n.html
@@ -1 +1 @@
-run_s2n in bulk - Rust
\ No newline at end of file
+run_s2n in bulk - Rust
\ No newline at end of file
diff --git a/pr/2965/docs/bulk/index.html b/pr/2965/docs/bulk/index.html
index d363d82796..f6592081df 100644
--- a/pr/2965/docs/bulk/index.html
+++ b/pr/2965/docs/bulk/index.html
@@ -1 +1 @@
-bulk - Rust
\ No newline at end of file
+bulk - Rust
\ No newline at end of file
diff --git a/pr/2965/docs/iroh/all.html b/pr/2965/docs/iroh/all.html
index fe64e62a76..5caa33954e 100644
--- a/pr/2965/docs/iroh/all.html
+++ b/pr/2965/docs/iroh/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- base::base32::DecodeError
- base::hash::Hash
- base::hash::HashAndFormat
- base::key::PublicKey
- base::key::SecretKey
- base::key::SharedSecret
- base::key::Signature
- base::node_addr::AddrInfo
- base::node_addr::NodeAddr
- base::node_addr::RelayUrl
- base::relay_map::QuicConfig
- base::relay_map::RelayMap
- base::relay_map::RelayNode
- base::relay_map::RelayUrl
- base::ticket::BlobTicket
- base::ticket::NodeTicket
- client::Iroh
- client::RpcService
- client::net::Client
- client::net::NodeStatus
- client::node::Client
- metrics::Metrics
- net::AddrInfo
- net::Endpoint
- net::NodeAddr
- net::RelayMap
- net::RelayNode
- net::RelayUrl
- net::dialer::Dialer
- net::discovery::ConcurrentDiscovery
- net::discovery::DiscoveryItem
- net::discovery::dns::DnsDiscovery
- net::discovery::local_swarm_discovery::LocalSwarmDiscovery
- net::discovery::pkarr::PkarrPublisher
- net::discovery::pkarr::PkarrRelayClient
- net::discovery::pkarr::PkarrResolver
- net::discovery::pkarr::dht::Builder
- net::discovery::pkarr::dht::DhtDiscovery
- net::discovery::static_provider::StaticProvider
- net::dns::node_info::NodeInfo
- net::dns::node_info::TxtAttrs
- net::endpoint::Accept
- net::endpoint::AcceptBi
- net::endpoint::AcceptUni
- net::endpoint::AckFrequencyConfig
- net::endpoint::AddrInfo
- net::endpoint::ApplicationClose
- net::endpoint::Builder
- net::endpoint::Bytes
- net::endpoint::Chunk
- net::endpoint::ClosedStream
- net::endpoint::Connecting
- net::endpoint::Connection
- net::endpoint::ConnectionClose
- net::endpoint::ConnectionStats
- net::endpoint::ConnectionTypeStream
- net::endpoint::CryptoError
- net::endpoint::DirectAddr
- net::endpoint::DirectAddrInfo
- net::endpoint::DirectAddrsStream
- net::endpoint::Endpoint
- net::endpoint::ExportKeyingMaterialError
- net::endpoint::FrameStats
- net::endpoint::Incoming
- net::endpoint::IncomingFuture
- net::endpoint::MtuDiscoveryConfig
- net::endpoint::NodeAddr
- net::endpoint::OpenBi
- net::endpoint::OpenUni
- net::endpoint::PathStats
- net::endpoint::ReadDatagram
- net::endpoint::RecvStream
- net::endpoint::RemoteInfo
- net::endpoint::RetryError
- net::endpoint::SendStream
- net::endpoint::ServerConfig
- net::endpoint::StreamId
- net::endpoint::TransportConfig
- net::endpoint::TransportError
- net::endpoint::TransportErrorCode
- net::endpoint::UdpStats
- net::endpoint::UnsupportedVersion
- net::endpoint::VarInt
- net::endpoint::WeakConnectionHandle
- net::endpoint::Written
- net::endpoint::ZeroRttAccepted
- net::key::PublicKey
- net::key::SecretKey
- net::key::SharedSecret
- net::key::Signature
- net::metrics::MagicsockMetrics
- net::metrics::NetReportMetrics
- net::metrics::PortmapMetrics
- net::metrics::RelayMetrics
- net::relay::HttpClient
- net::relay::HttpClientBuilder
- net::relay::HttpClientReceiver
- net::relay::RelayConn
- net::relay::RelayUrl
- net::relay::client::Client
- net::relay::client::ClientBuilder
- net::relay::client::ClientReceiver
- net::relay::protos::stun::MessageDecoder
- net::relay::protos::stun::StunDecodeError
- net::relay::protos::stun::TransactionId
- net::relay::quic::QuicClient
- net::relay::server::Limits
- net::relay::server::Metrics
- net::relay::server::QuicConfig
- net::relay::server::RelayConfig
- net::relay::server::Server
- net::relay::server::ServerConfig
- net::relay::server::StunConfig
- net::relay::server::StunMetrics
- net::relay::server::TlsConfig
- net::test_utils::CleanupDropGuard
- net::test_utils::DnsPkarrServer
- net::ticket::NodeTicket
- net::tls::certificate::GenError
- net::tls::certificate::P2pCertificate
- net::tls::certificate::P2pExtension
- net::tls::certificate::ParseError
- net::tls::certificate::VerificationError
- node::Builder
- node::Node
- node::ProtocolBuilder
- router::ProtocolMap
- router::Router
- router::RouterBuilder
Enums
- base::base32::DecodeKind
- base::base32::HexOrBase32ParseError
- base::hash::BlobFormat
- base::key::KeyParsingError
- base::node_addr::AddrInfoOptions
- base::ticket::Error
- net::RelayMode
- net::dns::node_info::IrohAttr
- net::endpoint::ConnectionError
- net::endpoint::ConnectionType
- net::endpoint::ControlMsg
- net::endpoint::DirectAddrType
- net::endpoint::ReadError
- net::endpoint::ReadExactError
- net::endpoint::ReadToEndError
- net::endpoint::RelayMode
- net::endpoint::ResetError
- net::endpoint::SendDatagramError
- net::endpoint::Source
- net::endpoint::StoppedError
- net::endpoint::WriteError
- net::key::KeyParsingError
- net::relay::HttpClientError
- net::relay::ReceivedMessage
- net::relay::client::ClientError
- net::relay::http::Protocol
- net::relay::protos::stun::Error
- net::relay::protos::stun::MessageClass
- net::relay::protos::stun::StunAttribute
- net::relay::server::CertConfig
- net::relay::server::MaybeTlsStreamServer
- net::tls::CreateConfigError
- node::DiscoveryConfig
- node::RpcStatus
- node::StorageConfig
- util::path::IrohPaths
Traits
- base::ticket::Ticket
- net::discovery::Discovery
- net::dns::ResolverExt
- net::endpoint::AeadKey
- net::endpoint::Controller
- net::endpoint::ControllerFactory
- net::endpoint::CryptoServerConfig
- net::endpoint::HandshakeTokenKey
- net::ticket::Ticket
- router::ProtocolHandler
Functions
- base::base32::fmt
- base::base32::fmt_append
- base::base32::fmt_short
- base::base32::parse_array
- base::base32::parse_array_hex_or_base32
- base::base32::parse_vec
- metrics::get_metrics
- metrics::try_init_metrics_collection
- net::defaults::prod::default_ap_relay_node
- net::defaults::prod::default_eu_relay_node
- net::defaults::prod::default_na_relay_node
- net::defaults::prod::default_relay_map
- net::defaults::staging::default_eu_relay_node
- net::defaults::staging::default_na_relay_node
- net::defaults::staging::default_relay_map
- net::dns::default_resolver
- net::dns::node_info::from_z32
- net::dns::node_info::to_z32
- net::dns::resolver
- net::endpoint::default_relay_mode
- net::endpoint::force_staging_infra
- net::endpoint::get_remote_node_id
- net::endpoint::make_server_config
- net::relay::client::make_dangerous_client_config
- net::relay::protos::disco::looks_like_disco_wrapper
- net::relay::protos::stun::is
- net::relay::protos::stun::parse_binding_request
- net::relay::protos::stun::parse_response
- net::relay::protos::stun::request
- net::relay::protos::stun::response
- net::relay::server::self_signed_tls_certs_and_config
- net::relay::server::testing::quic_config
- net::relay::server::testing::relay_config
- net::relay::server::testing::self_signed_tls_certs_and_config
- net::relay::server::testing::server_config
- net::relay::server::testing::stun_config
- net::relay::server::testing::tls_config
- net::test_utils::create_dns_resolver
- net::test_utils::run_relay_server
- net::test_utils::run_relay_server_with
- net::test_utils::run_relay_server_with_stun
- net::tls::certificate::generate
- net::tls::certificate::parse
- net::tls::make_client_config
- net::tls::make_server_config
- util::fs::load_secret_key
Type Aliases
- base::key::NodeId
- client::RpcClient
- net::NodeId
- net::dns::DnsResolver
- net::key::NodeId
- node::IrohServerEndpoint
Constants
- base::key::PUBLIC_KEY_LENGTH
- base::relay_map::DEFAULT_QUIC_PORT
- base::relay_map::DEFAULT_STUN_PORT
- net::defaults::DEFAULT_HTTPS_PORT
- net::defaults::DEFAULT_HTTP_PORT
- net::defaults::DEFAULT_METRICS_PORT
- net::defaults::DEFAULT_QUIC_PORT
- net::defaults::DEFAULT_STUN_PORT
- net::defaults::prod::AP_RELAY_HOSTNAME
- net::defaults::prod::EU_RELAY_HOSTNAME
- net::defaults::prod::NA_RELAY_HOSTNAME
- net::defaults::staging::EU_RELAY_HOSTNAME
- net::defaults::staging::NA_RELAY_HOSTNAME
- net::discovery::dns::N0_DNS_NODE_ORIGIN_PROD
- net::discovery::dns::N0_DNS_NODE_ORIGIN_STAGING
- net::discovery::local_swarm_discovery::NAME
- net::discovery::pkarr::DEFAULT_PKARR_TTL
- net::discovery::pkarr::DEFAULT_REPUBLISH_INTERVAL
- net::discovery::pkarr::N0_DNS_PKARR_RELAY_PROD
- net::discovery::pkarr::N0_DNS_PKARR_RELAY_STAGING
- net::dns::node_info::IROH_TXT_NAME
- net::endpoint::ENV_FORCE_STAGING_RELAYS
- net::key::PUBLIC_KEY_LENGTH
- net::relay::MAX_PACKET_SIZE
- net::relay::defaults::DEFAULT_HTTPS_PORT
- net::relay::defaults::DEFAULT_HTTP_PORT
- net::relay::defaults::DEFAULT_METRICS_PORT
- net::relay::defaults::DEFAULT_QUIC_PORT
- net::relay::defaults::DEFAULT_STUN_PORT
- net::relay::http::RELAY_PATH
- net::relay::http::RELAY_PROBE_PATH
- net::relay::protos::disco::MAGIC
- net::relay::protos::relay::MAX_PACKET_SIZE
- net::relay::protos::stun::methods::BINDING
- net::relay::protos::stun::methods::RESERVED
- net::relay::protos::stun::methods::SHARED_SECRET
- net::relay::quic::ALPN_QUIC_ADDR_DISC
- net::relay::quic::QUIC_ADDR_DISC_CLOSE_CODE
- net::relay::quic::QUIC_ADDR_DISC_CLOSE_REASON
- node::DEFAULT_RPC_ADDR
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- base::base32::DecodeError
- base::hash::Hash
- base::hash::HashAndFormat
- base::key::PublicKey
- base::key::SecretKey
- base::key::SharedSecret
- base::key::Signature
- base::node_addr::AddrInfo
- base::node_addr::NodeAddr
- base::node_addr::RelayUrl
- base::relay_map::QuicConfig
- base::relay_map::RelayMap
- base::relay_map::RelayNode
- base::relay_map::RelayUrl
- base::ticket::BlobTicket
- base::ticket::NodeTicket
- client::Iroh
- client::RpcService
- client::net::Client
- client::net::NodeStatus
- client::node::Client
- metrics::Metrics
- net::AddrInfo
- net::Endpoint
- net::NodeAddr
- net::RelayMap
- net::RelayNode
- net::RelayUrl
- net::dialer::Dialer
- net::discovery::ConcurrentDiscovery
- net::discovery::DiscoveryItem
- net::discovery::dns::DnsDiscovery
- net::discovery::local_swarm_discovery::LocalSwarmDiscovery
- net::discovery::pkarr::PkarrPublisher
- net::discovery::pkarr::PkarrRelayClient
- net::discovery::pkarr::PkarrResolver
- net::discovery::pkarr::dht::Builder
- net::discovery::pkarr::dht::DhtDiscovery
- net::discovery::static_provider::StaticProvider
- net::dns::node_info::NodeInfo
- net::dns::node_info::TxtAttrs
- net::endpoint::Accept
- net::endpoint::AcceptBi
- net::endpoint::AcceptUni
- net::endpoint::AckFrequencyConfig
- net::endpoint::AddrInfo
- net::endpoint::ApplicationClose
- net::endpoint::Builder
- net::endpoint::Bytes
- net::endpoint::Chunk
- net::endpoint::ClosedStream
- net::endpoint::Connecting
- net::endpoint::Connection
- net::endpoint::ConnectionClose
- net::endpoint::ConnectionStats
- net::endpoint::ConnectionTypeStream
- net::endpoint::CryptoError
- net::endpoint::DirectAddr
- net::endpoint::DirectAddrInfo
- net::endpoint::DirectAddrsStream
- net::endpoint::Endpoint
- net::endpoint::ExportKeyingMaterialError
- net::endpoint::FrameStats
- net::endpoint::Incoming
- net::endpoint::IncomingFuture
- net::endpoint::MtuDiscoveryConfig
- net::endpoint::NodeAddr
- net::endpoint::OpenBi
- net::endpoint::OpenUni
- net::endpoint::PathStats
- net::endpoint::ReadDatagram
- net::endpoint::RecvStream
- net::endpoint::RemoteInfo
- net::endpoint::RetryError
- net::endpoint::SendStream
- net::endpoint::ServerConfig
- net::endpoint::StreamId
- net::endpoint::TransportConfig
- net::endpoint::TransportError
- net::endpoint::TransportErrorCode
- net::endpoint::UdpStats
- net::endpoint::UnsupportedVersion
- net::endpoint::VarInt
- net::endpoint::WeakConnectionHandle
- net::endpoint::Written
- net::endpoint::ZeroRttAccepted
- net::key::PublicKey
- net::key::SecretKey
- net::key::SharedSecret
- net::key::Signature
- net::metrics::MagicsockMetrics
- net::metrics::NetReportMetrics
- net::metrics::PortmapMetrics
- net::metrics::RelayMetrics
- net::relay::HttpClient
- net::relay::HttpClientBuilder
- net::relay::HttpClientReceiver
- net::relay::RelayConn
- net::relay::RelayUrl
- net::relay::client::Client
- net::relay::client::ClientBuilder
- net::relay::client::ClientReceiver
- net::relay::protos::stun::MessageDecoder
- net::relay::protos::stun::StunDecodeError
- net::relay::protos::stun::TransactionId
- net::relay::quic::QuicClient
- net::relay::server::ClientConnRateLimit
- net::relay::server::Limits
- net::relay::server::Metrics
- net::relay::server::QuicConfig
- net::relay::server::RelayConfig
- net::relay::server::Server
- net::relay::server::ServerConfig
- net::relay::server::StunConfig
- net::relay::server::StunMetrics
- net::relay::server::TlsConfig
- net::test_utils::CleanupDropGuard
- net::test_utils::DnsPkarrServer
- net::ticket::NodeTicket
- net::tls::certificate::GenError
- net::tls::certificate::P2pCertificate
- net::tls::certificate::P2pExtension
- net::tls::certificate::ParseError
- net::tls::certificate::VerificationError
- node::Builder
- node::Node
- node::ProtocolBuilder
- router::ProtocolMap
- router::Router
- router::RouterBuilder
Enums
- base::base32::DecodeKind
- base::base32::HexOrBase32ParseError
- base::hash::BlobFormat
- base::key::KeyParsingError
- base::node_addr::AddrInfoOptions
- base::ticket::Error
- net::RelayMode
- net::dns::node_info::IrohAttr
- net::endpoint::ConnectionError
- net::endpoint::ConnectionType
- net::endpoint::ControlMsg
- net::endpoint::DirectAddrType
- net::endpoint::ReadError
- net::endpoint::ReadExactError
- net::endpoint::ReadToEndError
- net::endpoint::RelayMode
- net::endpoint::ResetError
- net::endpoint::SendDatagramError
- net::endpoint::Source
- net::endpoint::StoppedError
- net::endpoint::WriteError
- net::key::KeyParsingError
- net::relay::HttpClientError
- net::relay::ReceivedMessage
- net::relay::client::ClientError
- net::relay::http::Protocol
- net::relay::protos::stun::Error
- net::relay::protos::stun::MessageClass
- net::relay::protos::stun::StunAttribute
- net::relay::server::CertConfig
- net::relay::server::MaybeTlsStreamServer
- net::tls::CreateConfigError
- node::DiscoveryConfig
- node::RpcStatus
- node::StorageConfig
- util::path::IrohPaths
Traits
- base::ticket::Ticket
- net::discovery::Discovery
- net::dns::ResolverExt
- net::endpoint::AeadKey
- net::endpoint::Controller
- net::endpoint::ControllerFactory
- net::endpoint::CryptoServerConfig
- net::endpoint::HandshakeTokenKey
- net::ticket::Ticket
- router::ProtocolHandler
Functions
- base::base32::fmt
- base::base32::fmt_append
- base::base32::fmt_short
- base::base32::parse_array
- base::base32::parse_array_hex_or_base32
- base::base32::parse_vec
- metrics::get_metrics
- metrics::try_init_metrics_collection
- net::defaults::prod::default_ap_relay_node
- net::defaults::prod::default_eu_relay_node
- net::defaults::prod::default_na_relay_node
- net::defaults::prod::default_relay_map
- net::defaults::staging::default_eu_relay_node
- net::defaults::staging::default_na_relay_node
- net::defaults::staging::default_relay_map
- net::dns::default_resolver
- net::dns::node_info::from_z32
- net::dns::node_info::to_z32
- net::dns::resolver
- net::endpoint::default_relay_mode
- net::endpoint::force_staging_infra
- net::endpoint::get_remote_node_id
- net::endpoint::make_server_config
- net::relay::client::make_dangerous_client_config
- net::relay::protos::disco::looks_like_disco_wrapper
- net::relay::protos::stun::is
- net::relay::protos::stun::parse_binding_request
- net::relay::protos::stun::parse_response
- net::relay::protos::stun::request
- net::relay::protos::stun::response
- net::relay::server::self_signed_tls_certs_and_config
- net::relay::server::testing::quic_config
- net::relay::server::testing::relay_config
- net::relay::server::testing::self_signed_tls_certs_and_config
- net::relay::server::testing::server_config
- net::relay::server::testing::stun_config
- net::relay::server::testing::tls_config
- net::test_utils::create_dns_resolver
- net::test_utils::run_relay_server
- net::test_utils::run_relay_server_with
- net::test_utils::run_relay_server_with_stun
- net::tls::certificate::generate
- net::tls::certificate::parse
- net::tls::make_client_config
- net::tls::make_server_config
- util::fs::load_secret_key
Type Aliases
- base::key::NodeId
- client::RpcClient
- net::NodeId
- net::dns::DnsResolver
- net::key::NodeId
- node::IrohServerEndpoint
Constants
- base::key::PUBLIC_KEY_LENGTH
- base::relay_map::DEFAULT_QUIC_PORT
- base::relay_map::DEFAULT_STUN_PORT
- net::defaults::DEFAULT_HTTPS_PORT
- net::defaults::DEFAULT_HTTP_PORT
- net::defaults::DEFAULT_METRICS_PORT
- net::defaults::DEFAULT_RELAY_QUIC_PORT
- net::defaults::DEFAULT_STUN_PORT
- net::defaults::prod::AP_RELAY_HOSTNAME
- net::defaults::prod::EU_RELAY_HOSTNAME
- net::defaults::prod::NA_RELAY_HOSTNAME
- net::defaults::staging::EU_RELAY_HOSTNAME
- net::defaults::staging::NA_RELAY_HOSTNAME
- net::discovery::dns::N0_DNS_NODE_ORIGIN_PROD
- net::discovery::dns::N0_DNS_NODE_ORIGIN_STAGING
- net::discovery::local_swarm_discovery::NAME
- net::discovery::pkarr::DEFAULT_PKARR_TTL
- net::discovery::pkarr::DEFAULT_REPUBLISH_INTERVAL
- net::discovery::pkarr::N0_DNS_PKARR_RELAY_PROD
- net::discovery::pkarr::N0_DNS_PKARR_RELAY_STAGING
- net::dns::node_info::IROH_TXT_NAME
- net::endpoint::ENV_FORCE_STAGING_RELAYS
- net::key::PUBLIC_KEY_LENGTH
- net::relay::MAX_PACKET_SIZE
- net::relay::defaults::DEFAULT_HTTPS_PORT
- net::relay::defaults::DEFAULT_HTTP_PORT
- net::relay::defaults::DEFAULT_METRICS_PORT
- net::relay::defaults::DEFAULT_QUIC_PORT
- net::relay::defaults::DEFAULT_STUN_PORT
- net::relay::http::RELAY_PATH
- net::relay::http::RELAY_PROBE_PATH
- net::relay::protos::disco::MAGIC
- net::relay::protos::relay::MAX_PACKET_SIZE
- net::relay::protos::stun::methods::BINDING
- net::relay::protos::stun::methods::RESERVED
- net::relay::protos::stun::methods::SHARED_SECRET
- net::relay::quic::ALPN_QUIC_ADDR_DISC
- net::relay::quic::QUIC_ADDR_DISC_CLOSE_CODE
- net::relay::quic::QUIC_ADDR_DISC_CLOSE_REASON
- node::DEFAULT_RPC_ADDR
\ No newline at end of file
diff --git a/pr/2965/docs/iroh/base/base32/enum.HexOrBase32ParseError.html b/pr/2965/docs/iroh/base/base32/enum.HexOrBase32ParseError.html
index 39c3f7273a..4ccc1942da 100644
--- a/pr/2965/docs/iroh/base/base32/enum.HexOrBase32ParseError.html
+++ b/pr/2965/docs/iroh/base/base32/enum.HexOrBase32ParseError.html
@@ -4,7 +4,7 @@
}Error when parsing a hex or base32 string.
Error when decoding the base32.
Error when decoding the public key.
-Creates a ticket from given addressing info.
-Returns the addressing info from given ticket.
-Creates a ticket from given addressing info.
+Returns the addressing info from given ticket.
+self and other values to be equal, and is used
diff --git a/pr/2965/docs/iroh/base/node_addr/struct.RelayUrl.html b/pr/2965/docs/iroh/base/node_addr/struct.RelayUrl.html
index e9741b9681..0187af6ac7 100644
--- a/pr/2965/docs/iroh/base/node_addr/struct.RelayUrl.html
+++ b/pr/2965/docs/iroh/base/node_addr/struct.RelayUrl.html
@@ -449,7 +449,7 @@ to change the inner later.
Support for parsing strings directly.
+ __D: Deserializer<'de>,Support for parsing strings directly.
If you need more control over the error first create a Url and use RelayUrl::from
instead.
Support for parsing strings directly.
+ __D: Deserializer<'de>,Support for parsing strings directly.
If you need more control over the error first create a Url and use RelayUrl::from
instead.
pub const DEFAULT_QUIC_PORT: u16 = 7842; // 7_842u16The default QUIC port used by the Relay server to accept QUIC connections -for QUIC address discovery
-The port is “QUIC” typed on a phone keypad.
-pub const DEFAULT_RELAY_QUIC_PORT: u16 = 7842; // 7_842u16The default QUIC port used by the Relay server to accept QUIC connections +for QUIC address discovery
+The port is “QUIC” typed on a phone keypad.
+Default values used in iroh-net
Converts into a [hickory_proto::rr::Record] DNS record.
Creates a [pkarr::SignedPacket]
This constructs a DNS packet and signs it with a SecretKey.
The local application closed the connection
The connection could not be created because not enough of the CID space is available
Try using longer connection IDs.
-source. Read moreself and other values to be equal, and is used
+source. Read moreself and other values to be equal, and is used
by ==.This was a 0-RTT stream and the server rejected it
Can only occur on clients for 0-RTT streams, which can be opened using
Connecting::into_0rtt().
This was a 0-RTT stream and the server rejected it
Can only occur on clients for 0-RTT streams, which can be opened using
Connecting::into_0rtt().
source. Read moreself and other values to be equal, and is used
+source. Read moreself and other values to be equal, and is used
by ==.This was a 0-RTT stream and the server rejected it
Can only occur on clients for 0-RTT streams, which can be opened using
Connecting::into_0rtt().
source. Read moreself and other values to be equal, and is used
+source. Read moreself and other values to be equal, and is used
by ==.This was a 0-RTT stream and the server rejected it
Can only occur on clients for 0-RTT streams, which can be opened using
Connecting::into_0rtt().
source. Read moreself and other values to be equal, and is used
+source. Read moreself and other values to be equal, and is used
by ==.Even when the network did not change, or iroh was already able to detect the network change itself, there is no harm in calling this function.
-Closes the QUIC endpoint and the magic socket.
+Closes the QUIC endpoint and the magic socket.
This will close all open QUIC connections with the provided error_code and
reason. See quinn::Connection for details on how these are interpreted.
It will then wait for all connections to actually be shutdown, and afterwards close diff --git a/pr/2965/docs/iroh/net/endpoint/struct.NodeAddr.html b/pr/2965/docs/iroh/net/endpoint/struct.NodeAddr.html index a76f931733..c6ec8b4967 100644 --- a/pr/2965/docs/iroh/net/endpoint/struct.NodeAddr.html +++ b/pr/2965/docs/iroh/net/endpoint/struct.NodeAddr.html @@ -45,9 +45,9 @@ received from another API. E.g. to ensure a Trait Implementations§
Creates a ticket from given addressing info.
-Returns the addressing info from given ticket.
-Creates a ticket from given addressing info.
+Returns the addressing info from given ticket.
+self and other values to be equal, and is used
diff --git a/pr/2965/docs/iroh/net/endpoint/struct.TransportError.html b/pr/2965/docs/iroh/net/endpoint/struct.TransportError.html
index 0df7a7b7d8..a92412473f 100644
--- a/pr/2965/docs/iroh/net/endpoint/struct.TransportError.html
+++ b/pr/2965/docs/iroh/net/endpoint/struct.TransportError.html
@@ -6,7 +6,7 @@
code: CodeType of error
frame: Option<Type>Frame type that triggered the error
reason: StringHuman-readable explanation of the reason
-self and other values to be equal, and is used
+Extract the integer value
Saturating integer addition. Computes self + rhs, saturating at the numeric bounds instead of overflowing.
-self and other) and is used by the <=
operator. Read morepub struct RelayMetrics {Show 19 fields
+RelayMetrics in iroh::net::metrics - Rust Struct iroh::net::metrics::RelayMetrics
pub struct RelayMetrics {Show 21 fields
pub bytes_sent: Counter,
pub bytes_recv: Counter,
pub send_packets_sent: Counter,
@@ -13,6 +13,8 @@
pub got_ping: Counter,
pub sent_pong: Counter,
pub unknown_frames: Counter,
+ pub frames_rx_ratelimited_total: Counter,
+ pub conns_rx_ratelimited_total: Counter,
pub accepts: Counter,
pub disconnects: Counter,
pub unique_client_keys: Counter,
@@ -33,6 +35,8 @@
§got_ping: CounterNumber of FrameType::Pings received
§sent_pong: CounterNumber of FrameType::Pongs sent
§unknown_frames: CounterNumber of FrameType::Unknown received
+§frames_rx_ratelimited_total: CounterNumber of frames received from client connection which have been rate-limited.
+§conns_rx_ratelimited_total: CounterNumber of client connections which have had any frames rate-limited.
§accepts: CounterNumber of connections we have accepted
§disconnects: CounterNumber of connections we have removed because of an error
§unique_client_keys: CounterNumber of unique client keys per day
diff --git a/pr/2965/docs/iroh/net/relay/client/enum.ClientError.html b/pr/2965/docs/iroh/net/relay/client/enum.ClientError.html
index a62a64fa4f..37e77080e4 100644
--- a/pr/2965/docs/iroh/net/relay/client/enum.ClientError.html
+++ b/pr/2965/docs/iroh/net/relay/client/enum.ClientError.html
@@ -52,7 +52,7 @@
§DnsTimeout
There was a timeout resolving DNS.
§ActorGone
The inner actor is gone, likely means things are shutdown.
§WebsocketError(Error)
An error related to websockets, either errors with parsing ws messages or the handshake
-pub fn make_dangerous_client_config() -> QuicClientConfigCreates a client config that trusts relay servers without verification
+pub fn make_dangerous_client_config() -> ClientConfigCreates a client config that trusts any servers without verifying their TLS certificate.
Should be used for testing local relay setups only.
Exposes Client, which allows to establish connections to a relay server.
Based on tailscale/derp/derphttp/derphttp_client.go
-Client.ClientClient.ClientThere was a timeout resolving DNS.
The inner actor is gone, likely means things are shutdown.
An error related to websockets, either errors with parsing ws messages or the handshake
-Returns a reference to the XorMappedAddress attribute.
Panics if the attribute is not an XorMappedAddress
source. Read moresource. Read morepub struct QuicClient { /* private fields */ }Handles the client side of QUIC address discovery.
-Create a new QuicClient to handle the client side of QUIC +
Create a new QuicClient to handle the client side of QUIC address discovery.
/generate_204: Used for net_report probes.rustls::ServerConfig] and certificates suitable for testing.rustls::ServerConfig] and certificates suitable for testing.pub struct ClientConnRateLimit {
+ pub bytes_per_second: NonZero<u32>,
+ pub max_burst_bytes: Option<NonZero<u32>>,
+}Per-client rate limit configuration.
+bytes_per_second: NonZero<u32>Max number of bytes per second to read from the client connection.
+max_burst_bytes: Option<NonZero<u32>>Max number of bytes to read in a single burst.
+source. Read moreSubscriber to this type, returning a
+[WithDispatch] wrapper. Read morepub struct Limits {
+Limits in iroh::net::relay::server - Rust pub struct Limits {
pub accept_conn_limit: Option<f64>,
pub accept_conn_burst: Option<usize>,
+ pub client_rx: Option<ClientConnRateLimit>,
}
Expand description
Rate limits.
Fields§
§accept_conn_limit: Option<f64>Rate limit for accepting new connection. Unlimited if not set.
§accept_conn_burst: Option<usize>Burst limit for accepting new connection. Unlimited if not set.
+§client_rx: Option<ClientConnRateLimit>Rate limits for incoming traffic from a client connection.
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for Limits
§impl RefUnwindSafe for Limits
§impl Send for Limits
§impl Sync for Limits
§impl Unpin for Limits
§impl UnwindSafe for Limits
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh/net/relay/server/struct.Metrics.html b/pr/2965/docs/iroh/net/relay/server/struct.Metrics.html
index ea7ba51bca..931e6e3bda 100644
--- a/pr/2965/docs/iroh/net/relay/server/struct.Metrics.html
+++ b/pr/2965/docs/iroh/net/relay/server/struct.Metrics.html
@@ -1,4 +1,4 @@
-Metrics in iroh::net::relay::server - Rust pub struct Metrics {Show 19 fields
+Metrics in iroh::net::relay::server - Rust pub struct Metrics {Show 21 fields
pub bytes_sent: Counter,
pub bytes_recv: Counter,
pub send_packets_sent: Counter,
@@ -13,6 +13,8 @@
pub got_ping: Counter,
pub sent_pong: Counter,
pub unknown_frames: Counter,
+ pub frames_rx_ratelimited_total: Counter,
+ pub conns_rx_ratelimited_total: Counter,
pub accepts: Counter,
pub disconnects: Counter,
pub unique_client_keys: Counter,
@@ -33,6 +35,8 @@
§got_ping: CounterNumber of FrameType::Pings received
§sent_pong: CounterNumber of FrameType::Pongs sent
§unknown_frames: CounterNumber of FrameType::Unknown received
+§frames_rx_ratelimited_total: CounterNumber of frames received from client connection which have been rate-limited.
+§conns_rx_ratelimited_total: CounterNumber of client connections which have had any frames rate-limited.
§accepts: CounterNumber of connections we have accepted
§disconnects: CounterNumber of connections we have removed because of an error
§unique_client_keys: CounterNumber of unique client keys per day
diff --git a/pr/2965/docs/iroh/net/relay/server/struct.QuicConfig.html b/pr/2965/docs/iroh/net/relay/server/struct.QuicConfig.html
index c1937306ef..d4f52d2c11 100644
--- a/pr/2965/docs/iroh/net/relay/server/struct.QuicConfig.html
+++ b/pr/2965/docs/iroh/net/relay/server/struct.QuicConfig.html
@@ -1,17 +1,13 @@
-QuicConfig in iroh::net::relay::server - Rust Struct iroh::net::relay::server::QuicConfig
pub struct QuicConfig {
+QuicConfig in iroh::net::relay::server - Rust Struct iroh::net::relay::server::QuicConfig
pub struct QuicConfig {
pub bind_addr: SocketAddr,
- pub server_config: QuicServerConfig,
+ pub server_config: ServerConfig,
}
Expand description
Configuration for the QUIC server.
Fields§
§bind_addr: SocketAddrThe socket address on which the QUIC server should bind.
Normally you’d chose port 7842, see crate::defaults::DEFAULT_QUIC_PORT.
-§server_config: QuicServerConfigThe TLS server configuration for the QUIC server.
-Implementations§
§impl QuicConfig
pub fn new(
- server_config: ServerConfig,
- ip: IpAddr,
- port: Option<u16>
-) -> Result<QuicConfig, Error>
Create a new QuicConfig from a TlsConfig.
-If port is None, will use crate::defaults::DEFAULT_QUIC_PORT
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for QuicConfig
§impl !RefUnwindSafe for QuicConfig
§impl Send for QuicConfig
§impl Sync for QuicConfig
§impl Unpin for QuicConfig
§impl !UnwindSafe for QuicConfig
Blanket Implementations§
source§impl<T> Any for Twhere
+§server_config: ServerConfigThe TLS server configuration for the QUIC server.
+If this [rustls::ServerConfig] does not support
+TLS 1.3, the QUIC server will fail at [QuicServer::spawn].
+Trait Implementations§
Auto Trait Implementations§
§impl Freeze for QuicConfig
§impl !RefUnwindSafe for QuicConfig
§impl Send for QuicConfig
§impl Sync for QuicConfig
§impl Unpin for QuicConfig
§impl !UnwindSafe for QuicConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2965/docs/iroh/net/relay/server/struct.TlsConfig.html b/pr/2965/docs/iroh/net/relay/server/struct.TlsConfig.html
index 1b75bf95bd..5a8578feb4 100644
--- a/pr/2965/docs/iroh/net/relay/server/struct.TlsConfig.html
+++ b/pr/2965/docs/iroh/net/relay/server/struct.TlsConfig.html
@@ -1,7 +1,8 @@
-TlsConfig in iroh::net::relay::server - Rust pub struct TlsConfig<EC, EA = EC>where
+TlsConfig in iroh::net::relay::server - Rust pub struct TlsConfig<EC, EA = EC>{
pub https_bind_addr: SocketAddr,
+ pub quic_bind_addr: SocketAddr,
pub cert: CertConfig<EC, EA>,
pub server_config: ServerConfig,
}
Expand description
TLS configuration for Relay server.
@@ -11,6 +12,7 @@
the main relay server this has to be on a different port. When TLS is not enabled
this is served on the RelayConfig::http_bind_addr socket address.
Normally you’d choose port 80.
+§quic_bind_addr: SocketAddrThe socket address on which to server the QUIC server.
§cert: CertConfig<EC, EA>Mode for getting a cert.
§server_config: ServerConfigThe server configuration.
Trait Implementations§
§impl<EC, EA> Debug for TlsConfig<EC, EA>where
diff --git a/pr/2965/docs/iroh/net/relay/struct.RelayUrl.html b/pr/2965/docs/iroh/net/relay/struct.RelayUrl.html
index d1f08af997..0c40c3f167 100644
--- a/pr/2965/docs/iroh/net/relay/struct.RelayUrl.html
+++ b/pr/2965/docs/iroh/net/relay/struct.RelayUrl.html
@@ -449,7 +449,7 @@ to change the inner later.
§impl<'de> Deserialize<'de> for RelayUrl
§fn deserialize<__D>(
__deserializer: __D
) -> Result<RelayUrl, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl FromStr for RelayUrl
Support for parsing strings directly.
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read more§impl FromStr for RelayUrl
Support for parsing strings directly.
If you need more control over the error first create a Url and use RelayUrl::from
instead.
§impl Hash for RelayUrl
§fn hash<__H>(&self, state: &mut __H)where
diff --git a/pr/2965/docs/iroh/net/struct.Endpoint.html b/pr/2965/docs/iroh/net/struct.Endpoint.html
index f336af1952..5529767be6 100644
--- a/pr/2965/docs/iroh/net/struct.Endpoint.html
+++ b/pr/2965/docs/iroh/net/struct.Endpoint.html
@@ -173,7 +173,11 @@ function allows for notifying iroh of any potential network changes like
this.
Even when the network did not change, or iroh was already able to detect
the network change itself, there is no harm in calling this function.
-
pub async fn close(self, error_code: VarInt, reason: &[u8]) -> Result<(), Error>
Closes the QUIC endpoint and the magic socket.
+pub async fn close(
+ &self,
+ error_code: VarInt,
+ reason: &[u8]
+) -> Result<(), Error>
Closes the QUIC endpoint and the magic socket.
This will close all open QUIC connections with the provided error_code and
reason. See quinn::Connection for details on how these are interpreted.
It will then wait for all connections to actually be shutdown, and afterwards close
diff --git a/pr/2965/docs/iroh/net/struct.NodeAddr.html b/pr/2965/docs/iroh/net/struct.NodeAddr.html
index f357d6b49f..8c8e6d8741 100644
--- a/pr/2965/docs/iroh/net/struct.NodeAddr.html
+++ b/pr/2965/docs/iroh/net/struct.NodeAddr.html
@@ -45,9 +45,9 @@ received from another API. E.g. to ensure a Trait Implementations§
§impl<'de> Deserialize<'de> for NodeAddr
§fn deserialize<__D>(
__deserializer: __D
) -> Result<NodeAddr, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl From<NodeAddr> for NodeTicket
§fn from(addr: NodeAddr) -> NodeTicket
Creates a ticket from given addressing info.
-§impl From<NodeTicket> for NodeAddr
§fn from(ticket: NodeTicket) -> NodeAddr
Returns the addressing info from given ticket.
-§impl From<RemoteInfo> for NodeAddr
§fn from(info: RemoteInfo) -> NodeAddr
Converts to this type from the input type.§impl From<NodeAddr> for NodeTicket
§fn from(addr: NodeAddr) -> NodeTicket
Creates a ticket from given addressing info.
+§impl From<NodeTicket> for NodeAddr
§fn from(ticket: NodeTicket) -> NodeAddr
Returns the addressing info from given ticket.
+§impl From<RemoteInfo> for NodeAddr
§fn from(info: RemoteInfo) -> NodeAddr
Converts to this type from the input type.§impl Ord for NodeAddr
§impl PartialEq for NodeAddr
§fn eq(&self, other: &NodeAddr) -> bool
This method tests for self and other values to be equal, and is used
diff --git a/pr/2965/docs/iroh/net/struct.RelayUrl.html b/pr/2965/docs/iroh/net/struct.RelayUrl.html
index d8a3954a8d..58a08881ec 100644
--- a/pr/2965/docs/iroh/net/struct.RelayUrl.html
+++ b/pr/2965/docs/iroh/net/struct.RelayUrl.html
@@ -449,7 +449,7 @@ to change the inner later.
§impl<'de> Deserialize<'de> for RelayUrl
§fn deserialize<__D>(
__deserializer: __D
) -> Result<RelayUrl, <__D as Deserializer<'de>>::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more§impl FromStr for RelayUrl
Support for parsing strings directly.
+ __D: Deserializer<'de>,Deserialize this value from the given Serde deserializer. Read more§impl FromStr for RelayUrl
Support for parsing strings directly.
If you need more control over the error first create a Url and use RelayUrl::from
instead.
§impl Hash for RelayUrl
§fn hash<__H>(&self, state: &mut __H)where
diff --git a/pr/2965/docs/iroh/net/test_utils/fn.run_relay_server_with.html b/pr/2965/docs/iroh/net/test_utils/fn.run_relay_server_with.html
index 02431df33c..146128c011 100644
--- a/pr/2965/docs/iroh/net/test_utils/fn.run_relay_server_with.html
+++ b/pr/2965/docs/iroh/net/test_utils/fn.run_relay_server_with.html
@@ -4,6 +4,6 @@
) -> Result<(RelayMap, RelayUrl, Server), Error>Expand description
Runs a relay server.
stun can be set to None to disable stun, or set to Some StunConfig,
to enable stun on a specific socket.
-If quic is set to true, it will make the appropriate QuicConfig from the generated tls certificates and run the quic server at port iroh_relay::defaults::DEFAULT_QUIC_PORT.
+If quic is set to true, it will make the appropriate QuicConfig from the generated tls certificates and run the quic server at a random free port.
The return value is similar to run_relay_server.
\ No newline at end of file
diff --git a/pr/2965/docs/iroh/net/tls/certificate/struct.GenError.html b/pr/2965/docs/iroh/net/tls/certificate/struct.GenError.html
index 358a813503..c3d12a1d8c 100644
--- a/pr/2965/docs/iroh/net/tls/certificate/struct.GenError.html
+++ b/pr/2965/docs/iroh/net/tls/certificate/struct.GenError.html
@@ -1,5 +1,5 @@
GenError in iroh::net::tls::certificate - Rust Struct iroh::net::tls::certificate::GenError
pub struct GenError(/* private fields */);
Expand description
An error that occurs during certificate generation.
-Trait Implementations§
§impl Error for GenError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<GenError> for CreateConfigError
§fn from(source: GenError) -> CreateConfigError
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for GenError
§impl RefUnwindSafe for GenError
§impl Send for GenError
§impl Sync for GenError
§impl Unpin for GenError
§impl UnwindSafe for GenError
Blanket Implementations§
Trait Implementations§
§impl Error for GenError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<GenError> for CreateConfigError
§fn from(source: GenError) -> CreateConfigError
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for GenError
§impl RefUnwindSafe for GenError
§impl Send for GenError
§impl Sync for GenError
§impl Unpin for GenError
§impl UnwindSafe for GenError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2965/docs/iroh/net/tls/enum.CreateConfigError.html b/pr/2965/docs/iroh/net/tls/enum.CreateConfigError.html
index 46ed7804ec..79097bd8b6 100644
--- a/pr/2965/docs/iroh/net/tls/enum.CreateConfigError.html
+++ b/pr/2965/docs/iroh/net/tls/enum.CreateConfigError.html
@@ -4,7 +4,7 @@
}Expand description
Error for generating iroh p2p TLS configs.
Variants§
§CertError(GenError)
Error generating the certificate.
§ConfigError(NoInitialCipherSuite)
Error creating QUIC config.
-Trait Implementations§
§impl Debug for CreateConfigError
§impl Display for CreateConfigError
§impl Error for CreateConfigError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<GenError> for CreateConfigError
§fn from(source: GenError) -> CreateConfigError
Converts to this type from the input type.§impl From<NoInitialCipherSuite> for CreateConfigError
§fn from(source: NoInitialCipherSuite) -> CreateConfigError
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CreateConfigError
§impl RefUnwindSafe for CreateConfigError
§impl Send for CreateConfigError
§impl Sync for CreateConfigError
§impl Unpin for CreateConfigError
§impl UnwindSafe for CreateConfigError
Blanket Implementations§
Trait Implementations§
§impl Debug for CreateConfigError
§impl Display for CreateConfigError
§impl Error for CreateConfigError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<GenError> for CreateConfigError
§fn from(source: GenError) -> CreateConfigError
Converts to this type from the input type.§impl From<NoInitialCipherSuite> for CreateConfigError
§fn from(source: NoInitialCipherSuite) -> CreateConfigError
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CreateConfigError
§impl RefUnwindSafe for CreateConfigError
§impl Send for CreateConfigError
§impl Sync for CreateConfigError
§impl Unpin for CreateConfigError
§impl UnwindSafe for CreateConfigError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2965/docs/iroh/node/struct.ProtocolBuilder.html b/pr/2965/docs/iroh/node/struct.ProtocolBuilder.html
index 32b79df27b..b3c3cb4497 100644
--- a/pr/2965/docs/iroh/node/struct.ProtocolBuilder.html
+++ b/pr/2965/docs/iroh/node/struct.ProtocolBuilder.html
@@ -4,7 +4,11 @@
endpoint and a client to the node.
Note that RPC calls performed with client returned from Self::client will not complete
until the node is spawned.
- Implementations§
source§impl ProtocolBuilder
sourcepub fn accept(self, alpn: Vec<u8>, handler: Arc<dyn ProtocolHandler>) -> Self
Registers a protocol handler for incoming connections.
+Implementations§
source§impl ProtocolBuilder
sourcepub fn accept(
+ self,
+ alpn: impl AsRef<[u8]>,
+ handler: Arc<dyn ProtocolHandler>
+) -> Self
Registers a protocol handler for incoming connections.
Use this to register custom protocols onto the iroh node. Whenever a new connection for
alpn comes in, it is passed to this protocol handler.
See the ProtocolHandler trait for details.
@@ -32,7 +36,7 @@ until the node is spawned.
let handler = MyProtocol { client };
let node = unspawned_node
- .accept(MY_ALPN.to_vec(), Arc::new(handler))
+ .accept(MY_ALPN, Arc::new(handler))
.spawn()
.await?;
sourcepub fn client(&self) -> &Iroh
Returns a client to control this node over an in-memory channel.
diff --git a/pr/2965/docs/iroh/router/struct.RouterBuilder.html b/pr/2965/docs/iroh/router/struct.RouterBuilder.html
index a4e5140219..3bfe8e6a13 100644
--- a/pr/2965/docs/iroh/router/struct.RouterBuilder.html
+++ b/pr/2965/docs/iroh/router/struct.RouterBuilder.html
@@ -1,6 +1,6 @@
RouterBuilder in iroh::router - Rust Struct iroh::router::RouterBuilder
pub struct RouterBuilder { /* private fields */ }
Implementations§
§impl RouterBuilder
pub fn new(endpoint: Endpoint) -> RouterBuilder
pub fn accept(
self,
- alpn: Vec<u8>,
+ alpn: impl AsRef<[u8]>,
handler: Arc<dyn ProtocolHandler>
) -> RouterBuilder
pub fn get_protocol<P>(&self, alpn: &[u8]) -> Option<Arc<P>>where
diff --git a/pr/2965/docs/iroh/util/path/enum.IrohPaths.html b/pr/2965/docs/iroh/util/path/enum.IrohPaths.html
index 69f8f61217..1d729b2602 100644
--- a/pr/2965/docs/iroh/util/path/enum.IrohPaths.html
+++ b/pr/2965/docs/iroh/util/path/enum.IrohPaths.html
@@ -7,7 +7,7 @@
§PeerData
Path to store known peer data.
§RpcLock
Path to RPC lock file, containing the RPC port if running.
Implementations§
Trait Implementations§
Trait Implementations§
source§impl PartialEq for IrohPaths
source§impl Copy for IrohPaths
source§impl Eq for IrohPaths
source§impl StructuralPartialEq for IrohPaths
Auto Trait Implementations§
§impl Freeze for IrohPaths
§impl RefUnwindSafe for IrohPaths
§impl Send for IrohPaths
§impl Sync for IrohPaths
§impl Unpin for IrohPaths
§impl UnwindSafe for IrohPaths
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_base/base32/enum.HexOrBase32ParseError.html b/pr/2965/docs/iroh_base/base32/enum.HexOrBase32ParseError.html
index 8f86d4e553..c75856e5c7 100644
--- a/pr/2965/docs/iroh_base/base32/enum.HexOrBase32ParseError.html
+++ b/pr/2965/docs/iroh_base/base32/enum.HexOrBase32ParseError.html
@@ -4,7 +4,7 @@
}Available on crate feature base32 only.Expand description
Error when parsing a hex or base32 string.
Variants§
§Base32(DecodeError)
Error when decoding the base32.
§Hex(FromHexError)
Error when decoding the public key.
-Trait Implementations§
source§impl Debug for HexOrBase32ParseError
source§impl Display for HexOrBase32ParseError
source§impl Error for HexOrBase32ParseError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for HexOrBase32ParseError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<FromHexError> for HexOrBase32ParseError
source§fn from(source: FromHexError) -> Self
Converts to this type from the input type.source§impl From<HexOrBase32ParseError> for KeyParsingError
Available on crate feature key only.
source§fn from(source: HexOrBase32ParseError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for HexOrBase32ParseError
§impl RefUnwindSafe for HexOrBase32ParseError
§impl Send for HexOrBase32ParseError
§impl Sync for HexOrBase32ParseError
§impl Unpin for HexOrBase32ParseError
§impl UnwindSafe for HexOrBase32ParseError
Blanket Implementations§
Trait Implementations§
source§impl Debug for HexOrBase32ParseError
source§impl Display for HexOrBase32ParseError
source§impl Error for HexOrBase32ParseError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for HexOrBase32ParseError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<FromHexError> for HexOrBase32ParseError
source§fn from(source: FromHexError) -> Self
Converts to this type from the input type.source§impl From<HexOrBase32ParseError> for KeyParsingError
Available on crate feature key only.
source§fn from(source: HexOrBase32ParseError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for HexOrBase32ParseError
§impl RefUnwindSafe for HexOrBase32ParseError
§impl Send for HexOrBase32ParseError
§impl Sync for HexOrBase32ParseError
§impl Unpin for HexOrBase32ParseError
§impl UnwindSafe for HexOrBase32ParseError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/pr/2965/docs/iroh_base/base32/struct.DecodeError.html b/pr/2965/docs/iroh_base/base32/struct.DecodeError.html
index 17901429b0..72c14ed3af 100644
--- a/pr/2965/docs/iroh_base/base32/struct.DecodeError.html
+++ b/pr/2965/docs/iroh_base/base32/struct.DecodeError.html
@@ -5,7 +5,7 @@
Fields§
§position: usizeError position
This position is always a valid input position and represents the first encountered error.
§kind: DecodeKindError kind
-Trait Implementations§
§impl Clone for DecodeError
§fn clone(&self) -> DecodeError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for DecodeError
§impl Display for DecodeError
§impl Error for DecodeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for Error
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<DecodeError> for HexOrBase32ParseError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.§impl PartialEq for DecodeError
§fn eq(&self, other: &DecodeError) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
§impl Clone for DecodeError
§fn clone(&self) -> DecodeError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for DecodeError
§impl Display for DecodeError
§impl Error for DecodeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for Error
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<DecodeError> for HexOrBase32ParseError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.§impl PartialEq for DecodeError
§fn eq(&self, other: &DecodeError) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Copy for DecodeError
§impl Eq for DecodeError
§impl StructuralPartialEq for DecodeError
Auto Trait Implementations§
§impl Freeze for DecodeError
§impl RefUnwindSafe for DecodeError
§impl Send for DecodeError
§impl Sync for DecodeError
§impl Unpin for DecodeError
§impl UnwindSafe for DecodeError
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/pr/2965/docs/iroh_base/hash/enum.BlobFormat.html b/pr/2965/docs/iroh_base/hash/enum.BlobFormat.html
index 2c337a0036..7a77e716b7 100644
--- a/pr/2965/docs/iroh_base/hash/enum.BlobFormat.html
+++ b/pr/2965/docs/iroh_base/hash/enum.BlobFormat.html
@@ -6,8 +6,8 @@
§HashSeq
A sequence of BLAKE3 hashes
Implementations§
source§impl BlobFormat
Trait Implementations§
source§impl Clone for BlobFormat
source§fn clone(&self) -> BlobFormat
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for BlobFormat
source§impl Default for BlobFormat
source§fn default() -> BlobFormat
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for BlobFormat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for BlobFormat
source§impl From<BlobFormat> for u64
source§fn from(value: BlobFormat) -> Self
Converts to this type from the input type.Trait Implementations§
source§impl Clone for BlobFormat
source§fn clone(&self) -> BlobFormat
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for BlobFormat
source§impl Default for BlobFormat
source§fn default() -> BlobFormat
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for BlobFormat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for BlobFormat
source§impl From<BlobFormat> for u64
source§fn from(value: BlobFormat) -> Self
Converts to this type from the input type.source§impl Hash for BlobFormat
source§impl MaxSize for BlobFormat
source§const POSTCARD_MAX_SIZE: usize = 1usize
The maximum possible size that the serialization of this
type can have, in bytes.source§impl Ord for BlobFormat
source§fn cmp(&self, other: &BlobFormat) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
diff --git a/pr/2965/docs/iroh_base/hash/struct.Hash.html b/pr/2965/docs/iroh_base/hash/struct.Hash.html
index 9b4b958541..f1166be5f6 100644
--- a/pr/2965/docs/iroh_base/hash/struct.Hash.html
+++ b/pr/2965/docs/iroh_base/hash/struct.Hash.html
@@ -6,8 +6,8 @@
Trait Implementations§
source§impl<'de> Deserialize<'de> for Hash
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreTrait Implementations§
source§impl<'de> Deserialize<'de> for Hash
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
+ D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl MaxSize for Hash
source§const POSTCARD_MAX_SIZE: usize = 32usize
The maximum possible size that the serialization of this
type can have, in bytes.source§impl Ord for Hash
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
diff --git a/pr/2965/docs/iroh_base/key/enum.KeyParsingError.html b/pr/2965/docs/iroh_base/key/enum.KeyParsingError.html
index 3cce8cf58c..6b4b81dbc8 100644
--- a/pr/2965/docs/iroh_base/key/enum.KeyParsingError.html
+++ b/pr/2965/docs/iroh_base/key/enum.KeyParsingError.html
@@ -4,7 +4,7 @@
}Available on crate feature key only.Variants§
§Base32(HexOrBase32ParseError)
Error when decoding the base32.
§Key(SignatureError)
Error when decoding the public key.
-Trait Implementations§
source§impl Debug for KeyParsingError
source§impl Display for KeyParsingError
source§impl Error for KeyParsingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Error> for KeyParsingError
source§impl From<HexOrBase32ParseError> for KeyParsingError
source§fn from(source: HexOrBase32ParseError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for KeyParsingError
§impl !RefUnwindSafe for KeyParsingError
§impl Send for KeyParsingError
§impl Sync for KeyParsingError
§impl Unpin for KeyParsingError
§impl !UnwindSafe for KeyParsingError
Blanket Implementations§
Trait Implementations§
source§impl Debug for KeyParsingError
source§impl Display for KeyParsingError
source§impl Error for KeyParsingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<Error> for KeyParsingError
source§impl From<HexOrBase32ParseError> for KeyParsingError
source§fn from(source: HexOrBase32ParseError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for KeyParsingError
§impl !RefUnwindSafe for KeyParsingError
§impl Send for KeyParsingError
§impl Sync for KeyParsingError
§impl Unpin for KeyParsingError
§impl !UnwindSafe for KeyParsingError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/pr/2965/docs/iroh_base/key/struct.SecretKey.html b/pr/2965/docs/iroh_base/key/struct.SecretKey.html
index f3b4827420..46c8f5b490 100644
--- a/pr/2965/docs/iroh_base/key/struct.SecretKey.html
+++ b/pr/2965/docs/iroh_base/key/struct.SecretKey.html
@@ -10,7 +10,7 @@
The public part can always be recovered.
sourcepub fn from_bytes(bytes: &[u8; 32]) -> Self
Create a secret key from its byte representation.
Trait Implementations§
source§impl<'de> Deserialize<'de> for SecretKey
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
- D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl !Freeze for SecretKey
§impl RefUnwindSafe for SecretKey
§impl Send for SecretKey
§impl Sync for SecretKey
§impl Unpin for SecretKey
§impl UnwindSafe for SecretKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/pr/2965/docs/iroh_base/node_addr/struct.NodeAddr.html b/pr/2965/docs/iroh_base/node_addr/struct.NodeAddr.html
index eda96d2c13..aee419901e 100644
--- a/pr/2965/docs/iroh_base/node_addr/struct.NodeAddr.html
+++ b/pr/2965/docs/iroh_base/node_addr/struct.NodeAddr.html
@@ -43,9 +43,9 @@ received from another API. E.g. to ensure a sourcepub fn direct_addresses(&self) -> impl Iterator<Item = &SocketAddr>
Returns the direct addresses of this peer.
Trait Implementations§
source§impl<'de> Deserialize<'de> for NodeAddr
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl From<NodeAddr> for NodeTicket
Available on crate feature base32 only.
source§impl From<NodeTicket> for NodeAddr
Available on crate feature base32 only.
source§fn from(ticket: NodeTicket) -> Self
Returns the addressing info from given ticket.
-source§impl From<NodeAddr> for NodeTicket
Available on crate feature base32 only.
source§impl From<NodeTicket> for NodeAddr
Available on crate feature base32 only.
source§fn from(ticket: NodeTicket) -> Self
Returns the addressing info from given ticket.
+source§impl Ord for NodeAddr
source§impl PartialEq for NodeAddr
source§fn eq(&self, other: &NodeAddr) -> bool
This method tests for self and other values to be equal, and is used
diff --git a/pr/2965/docs/iroh_base/node_addr/struct.RelayUrl.html b/pr/2965/docs/iroh_base/node_addr/struct.RelayUrl.html
index 0a26352cda..757e1ec687 100644
--- a/pr/2965/docs/iroh_base/node_addr/struct.RelayUrl.html
+++ b/pr/2965/docs/iroh_base/node_addr/struct.RelayUrl.html
@@ -443,11 +443,11 @@ or if Path::new_opt() returns None.
(That is, if the percent-decoded path contains a NUL byte or,
for a Windows path, is not UTF-8.)
This method is only available if the std Cargo feature is enabled.
-Trait Implementations§
Trait Implementations§
source§impl Deref for RelayUrl
source§impl<'de> Deserialize<'de> for RelayUrl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl FromStr for RelayUrl
Support for parsing strings directly.
If you need more control over the error first create a Url and use RelayUrl::from
instead.
source§impl Hash for RelayUrl
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
diff --git a/pr/2965/docs/iroh_base/relay_map/struct.RelayUrl.html b/pr/2965/docs/iroh_base/relay_map/struct.RelayUrl.html
index 8d9cd37087..a12d3f206f 100644
--- a/pr/2965/docs/iroh_base/relay_map/struct.RelayUrl.html
+++ b/pr/2965/docs/iroh_base/relay_map/struct.RelayUrl.html
@@ -443,11 +443,11 @@ or if Path::new_opt() returns None.
(That is, if the percent-decoded path contains a NUL byte or,
for a Windows path, is not UTF-8.)
This method is only available if the std Cargo feature is enabled.
-
Trait Implementations§
Trait Implementations§
source§impl Deref for RelayUrl
source§impl<'de> Deserialize<'de> for RelayUrl
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl FromStr for RelayUrl
Support for parsing strings directly.
If you need more control over the error first create a Url and use RelayUrl::from
instead.
source§impl Hash for RelayUrl
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
diff --git a/pr/2965/docs/iroh_base/ticket/enum.Error.html b/pr/2965/docs/iroh_base/ticket/enum.Error.html
index a5b922a3a9..7ef7f2fb7f 100644
--- a/pr/2965/docs/iroh_base/ticket/enum.Error.html
+++ b/pr/2965/docs/iroh_base/ticket/enum.Error.html
@@ -10,7 +10,7 @@
§Postcard(Error)
This looks like a ticket, but postcard deserialization failed.
§Encoding(DecodeError)
This looks like a ticket, but base32 decoding failed.
§Verify(&'static str)
Verification of the deserialized bytes failed.
-
Trait Implementations§
source§impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for Error
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for Error
§impl RefUnwindSafe for Error
§impl Send for Error
§impl Sync for Error
§impl Unpin for Error
§impl UnwindSafe for Error
Blanket Implementations§
Trait Implementations§
source§impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for Error
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for Error
§impl RefUnwindSafe for Error
§impl Send for Error
§impl Sync for Error
§impl Unpin for Error
§impl UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/pr/2965/docs/iroh_base/ticket/struct.BlobTicket.html b/pr/2965/docs/iroh_base/ticket/struct.BlobTicket.html
index 337ee67027..bd1b3a6fab 100644
--- a/pr/2965/docs/iroh_base/ticket/struct.BlobTicket.html
+++ b/pr/2965/docs/iroh_base/ticket/struct.BlobTicket.html
@@ -6,9 +6,9 @@
sourcepub fn format(&self) -> BlobFormat
The BlobFormat for this ticket.
sourcepub fn recursive(&self) -> bool
True if the ticket is for a collection and should retrieve all blobs in it.
sourcepub fn into_parts(self) -> (NodeAddr, Hash, BlobFormat)
Get the contents of the ticket, consuming it.
-Trait Implementations§
source§impl Clone for BlobTicket
source§fn clone(&self) -> BlobTicket
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for BlobTicket
source§impl<'de> Deserialize<'de> for BlobTicket
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for BlobTicket
source§impl FromStr for BlobTicket
source§impl PartialEq for BlobTicket
source§fn eq(&self, other: &BlobTicket) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for BlobTicket
source§fn clone(&self) -> BlobTicket
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for BlobTicket
source§impl<'de> Deserialize<'de> for BlobTicket
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for BlobTicket
source§impl FromStr for BlobTicket
source§impl PartialEq for BlobTicket
source§fn eq(&self, other: &BlobTicket) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for BlobTicket
source§impl Ticket for BlobTicket
source§impl Eq for BlobTicket
source§impl StructuralPartialEq for BlobTicket
Auto Trait Implementations§
§impl Freeze for BlobTicket
§impl RefUnwindSafe for BlobTicket
§impl Send for BlobTicket
§impl Sync for BlobTicket
§impl Unpin for BlobTicket
§impl UnwindSafe for BlobTicket
Blanket Implementations§
source§impl Serialize for BlobTicket
source§impl Ticket for BlobTicket
source§impl Eq for BlobTicket
source§impl StructuralPartialEq for BlobTicket
Auto Trait Implementations§
§impl Freeze for BlobTicket
§impl RefUnwindSafe for BlobTicket
§impl Send for BlobTicket
§impl Sync for BlobTicket
§impl Unpin for BlobTicket
§impl UnwindSafe for BlobTicket
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/pr/2965/docs/iroh_base/ticket/struct.NodeTicket.html b/pr/2965/docs/iroh_base/ticket/struct.NodeTicket.html
index 6aba3cca9a..3c09fffdd6 100644
--- a/pr/2965/docs/iroh_base/ticket/struct.NodeTicket.html
+++ b/pr/2965/docs/iroh_base/ticket/struct.NodeTicket.html
@@ -12,7 +12,7 @@ implements the Implementations§Trait Implementations§
source§impl Clone for NodeTicket
source§fn clone(&self) -> NodeTicket
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for NodeTicket
source§impl<'de> Deserialize<'de> for NodeTicket
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for NodeTicket
Trait Implementations§
source§impl Clone for NodeTicket
source§fn clone(&self) -> NodeTicket
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for NodeTicket
source§impl<'de> Deserialize<'de> for NodeTicket
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for NodeTicket
source§impl From<NodeAddr> for NodeTicket
source§impl From<NodeTicket> for NodeAddr
source§fn from(ticket: NodeTicket) -> Self
Returns the addressing info from given ticket.
source§impl FromStr for NodeTicket
source§impl PartialEq for NodeTicket
source§fn eq(&self, other: &NodeTicket) -> bool
This method tests for self and other values to be equal, and is used
by ==.1.0.0 · source§fn ne(&self, other: &Rhs) -> bool
This method tests for !=. The default implementation is almost always
diff --git a/pr/2965/docs/iroh_dns_server/http/enum.CertMode.html b/pr/2965/docs/iroh_dns_server/http/enum.CertMode.html
index 1147256243..af93be72f8 100644
--- a/pr/2965/docs/iroh_dns_server/http/enum.CertMode.html
+++ b/pr/2965/docs/iroh_dns_server/http/enum.CertMode.html
@@ -6,8 +6,8 @@
Variants§
§Manual
Certs are loaded from a the cert_cache path
§LetsEncrypt
ACME with LetsEncrypt servers
§SelfSigned
Create self-signed certificates and store them in the cert_cache path
-Trait Implementations§
source§impl<'de> Deserialize<'de> for CertMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for CertMode
Trait Implementations§
source§impl<'de> Deserialize<'de> for CertMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl PartialEq for CertMode
source§impl Eq for CertMode
source§impl StructuralPartialEq for CertMode
Auto Trait Implementations§
§impl Freeze for CertMode
§impl RefUnwindSafe for CertMode
§impl Send for CertMode
§impl Sync for CertMode
§impl Unpin for CertMode
§impl UnwindSafe for CertMode
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/pr/2965/docs/iroh_dns_server/http/enum.RateLimitConfig.html b/pr/2965/docs/iroh_dns_server/http/enum.RateLimitConfig.html
index d2013acf8d..e7c582b381 100644
--- a/pr/2965/docs/iroh_dns_server/http/enum.RateLimitConfig.html
+++ b/pr/2965/docs/iroh_dns_server/http/enum.RateLimitConfig.html
@@ -10,7 +10,7 @@
Uses headers commonly used by reverse proxies to extract the original IP address,
falling back to the connection’s peer IP address.
https://docs.rs/tower_governor/latest/tower_governor/key_extractor/struct.SmartIpKeyExtractor.html
-
Trait Implementations§
source§impl Clone for RateLimitConfig
source§fn clone(&self) -> RateLimitConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for RateLimitConfig
source§impl Default for &RateLimitConfig
source§impl Default for RateLimitConfig
source§fn default() -> RateLimitConfig
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for RateLimitConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+
Trait Implementations§
source§impl Clone for RateLimitConfig
source§fn clone(&self) -> RateLimitConfig
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for RateLimitConfig
source§impl Default for &RateLimitConfig
source§impl Default for RateLimitConfig
source§fn default() -> RateLimitConfig
Returns the “default value” for a type. Read moresource§impl<'de> Deserialize<'de> for RateLimitConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moreAuto Trait Implementations§
§impl Freeze for RateLimitConfig
§impl RefUnwindSafe for RateLimitConfig
§impl Send for RateLimitConfig
§impl Sync for RateLimitConfig
§impl Unpin for RateLimitConfig
§impl UnwindSafe for RateLimitConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_net/all.html b/pr/2965/docs/iroh_net/all.html
index e13760af4c..c0c9575ff6 100644
--- a/pr/2965/docs/iroh_net/all.html
+++ b/pr/2965/docs/iroh_net/all.html
@@ -1 +1 @@
-List of all items in this crate List of all items
Structs
- AddrInfo
- NodeAddr
- RelayMap
- RelayNode
- RelayUrl
- dialer::Dialer
- discovery::ConcurrentDiscovery
- discovery::DiscoveryItem
- discovery::dns::DnsDiscovery
- discovery::local_swarm_discovery::LocalSwarmDiscovery
- discovery::pkarr::PkarrPublisher
- discovery::pkarr::PkarrRelayClient
- discovery::pkarr::PkarrResolver
- discovery::pkarr::dht::Builder
- discovery::pkarr::dht::DhtDiscovery
- discovery::static_provider::StaticProvider
- dns::node_info::NodeInfo
- dns::node_info::TxtAttrs
- endpoint::Accept
- endpoint::AcceptBi
- endpoint::AcceptUni
- endpoint::AckFrequencyConfig
- endpoint::AddrInfo
- endpoint::ApplicationClose
- endpoint::Builder
- endpoint::Bytes
- endpoint::Chunk
- endpoint::ClosedStream
- endpoint::Connecting
- endpoint::Connection
- endpoint::ConnectionClose
- endpoint::ConnectionStats
- endpoint::ConnectionTypeStream
- endpoint::CryptoError
- endpoint::DirectAddr
- endpoint::DirectAddrInfo
- endpoint::DirectAddrsStream
- endpoint::Endpoint
- endpoint::ExportKeyingMaterialError
- endpoint::FrameStats
- endpoint::Incoming
- endpoint::IncomingFuture
- endpoint::MtuDiscoveryConfig
- endpoint::NodeAddr
- endpoint::OpenBi
- endpoint::OpenUni
- endpoint::PathStats
- endpoint::ReadDatagram
- endpoint::RecvStream
- endpoint::RemoteInfo
- endpoint::RetryError
- endpoint::SendStream
- endpoint::ServerConfig
- endpoint::StreamId
- endpoint::TransportConfig
- endpoint::TransportError
- endpoint::TransportErrorCode
- endpoint::UdpStats
- endpoint::UnsupportedVersion
- endpoint::VarInt
- endpoint::WeakConnectionHandle
- endpoint::Written
- endpoint::ZeroRttAccepted
- key::PublicKey
- key::SecretKey
- key::SharedSecret
- key::Signature
- metrics::MagicsockMetrics
- metrics::NetReportMetrics
- metrics::PortmapMetrics
- metrics::RelayMetrics
- test_utils::CleanupDropGuard
- test_utils::DnsPkarrServer
- ticket::NodeTicket
- tls::certificate::GenError
- tls::certificate::P2pCertificate
- tls::certificate::P2pExtension
- tls::certificate::ParseError
- tls::certificate::VerificationError
Enums
- dns::node_info::IrohAttr
- endpoint::ConnectionError
- endpoint::ConnectionType
- endpoint::ControlMsg
- endpoint::DirectAddrType
- endpoint::ReadError
- endpoint::ReadExactError
- endpoint::ReadToEndError
- endpoint::RelayMode
- endpoint::ResetError
- endpoint::SendDatagramError
- endpoint::Source
- endpoint::StoppedError
- endpoint::WriteError
- key::KeyParsingError
- tls::CreateConfigError
Traits
- discovery::Discovery
- dns::ResolverExt
- endpoint::AeadKey
- endpoint::Controller
- endpoint::ControllerFactory
- endpoint::CryptoServerConfig
- endpoint::HandshakeTokenKey
- ticket::Ticket
Functions
- defaults::prod::default_ap_relay_node
- defaults::prod::default_eu_relay_node
- defaults::prod::default_na_relay_node
- defaults::prod::default_relay_map
- defaults::staging::default_eu_relay_node
- defaults::staging::default_na_relay_node
- defaults::staging::default_relay_map
- dns::default_resolver
- dns::node_info::from_z32
- dns::node_info::to_z32
- dns::resolver
- endpoint::default_relay_mode
- endpoint::force_staging_infra
- endpoint::get_remote_node_id
- endpoint::make_server_config
- test_utils::create_dns_resolver
- test_utils::run_relay_server
- test_utils::run_relay_server_with
- test_utils::run_relay_server_with_stun
- tls::certificate::generate
- tls::certificate::parse
- tls::make_client_config
- tls::make_server_config
Type Aliases
Constants
- defaults::DEFAULT_HTTPS_PORT
- defaults::DEFAULT_HTTP_PORT
- defaults::DEFAULT_METRICS_PORT
- defaults::DEFAULT_QUIC_PORT
- defaults::DEFAULT_STUN_PORT
- defaults::prod::AP_RELAY_HOSTNAME
- defaults::prod::EU_RELAY_HOSTNAME
- defaults::prod::NA_RELAY_HOSTNAME
- defaults::staging::EU_RELAY_HOSTNAME
- defaults::staging::NA_RELAY_HOSTNAME
- discovery::dns::N0_DNS_NODE_ORIGIN_PROD
- discovery::dns::N0_DNS_NODE_ORIGIN_STAGING
- discovery::local_swarm_discovery::NAME
- discovery::pkarr::DEFAULT_PKARR_TTL
- discovery::pkarr::DEFAULT_REPUBLISH_INTERVAL
- discovery::pkarr::N0_DNS_PKARR_RELAY_PROD
- discovery::pkarr::N0_DNS_PKARR_RELAY_STAGING
- dns::node_info::IROH_TXT_NAME
- endpoint::ENV_FORCE_STAGING_RELAYS
- key::PUBLIC_KEY_LENGTH
\ No newline at end of file
+List of all items in this crate List of all items
Structs
- AddrInfo
- NodeAddr
- RelayMap
- RelayNode
- RelayUrl
- dialer::Dialer
- discovery::ConcurrentDiscovery
- discovery::DiscoveryItem
- discovery::dns::DnsDiscovery
- discovery::local_swarm_discovery::LocalSwarmDiscovery
- discovery::pkarr::PkarrPublisher
- discovery::pkarr::PkarrRelayClient
- discovery::pkarr::PkarrResolver
- discovery::pkarr::dht::Builder
- discovery::pkarr::dht::DhtDiscovery
- discovery::static_provider::StaticProvider
- dns::node_info::NodeInfo
- dns::node_info::TxtAttrs
- endpoint::Accept
- endpoint::AcceptBi
- endpoint::AcceptUni
- endpoint::AckFrequencyConfig
- endpoint::AddrInfo
- endpoint::ApplicationClose
- endpoint::Builder
- endpoint::Bytes
- endpoint::Chunk
- endpoint::ClosedStream
- endpoint::Connecting
- endpoint::Connection
- endpoint::ConnectionClose
- endpoint::ConnectionStats
- endpoint::ConnectionTypeStream
- endpoint::CryptoError
- endpoint::DirectAddr
- endpoint::DirectAddrInfo
- endpoint::DirectAddrsStream
- endpoint::Endpoint
- endpoint::ExportKeyingMaterialError
- endpoint::FrameStats
- endpoint::Incoming
- endpoint::IncomingFuture
- endpoint::MtuDiscoveryConfig
- endpoint::NodeAddr
- endpoint::OpenBi
- endpoint::OpenUni
- endpoint::PathStats
- endpoint::ReadDatagram
- endpoint::RecvStream
- endpoint::RemoteInfo
- endpoint::RetryError
- endpoint::SendStream
- endpoint::ServerConfig
- endpoint::StreamId
- endpoint::TransportConfig
- endpoint::TransportError
- endpoint::TransportErrorCode
- endpoint::UdpStats
- endpoint::UnsupportedVersion
- endpoint::VarInt
- endpoint::WeakConnectionHandle
- endpoint::Written
- endpoint::ZeroRttAccepted
- key::PublicKey
- key::SecretKey
- key::SharedSecret
- key::Signature
- metrics::MagicsockMetrics
- metrics::NetReportMetrics
- metrics::PortmapMetrics
- metrics::RelayMetrics
- test_utils::CleanupDropGuard
- test_utils::DnsPkarrServer
- ticket::NodeTicket
- tls::certificate::GenError
- tls::certificate::P2pCertificate
- tls::certificate::P2pExtension
- tls::certificate::ParseError
- tls::certificate::VerificationError
Enums
- dns::node_info::IrohAttr
- endpoint::ConnectionError
- endpoint::ConnectionType
- endpoint::ControlMsg
- endpoint::DirectAddrType
- endpoint::ReadError
- endpoint::ReadExactError
- endpoint::ReadToEndError
- endpoint::RelayMode
- endpoint::ResetError
- endpoint::SendDatagramError
- endpoint::Source
- endpoint::StoppedError
- endpoint::WriteError
- key::KeyParsingError
- tls::CreateConfigError
Traits
- discovery::Discovery
- dns::ResolverExt
- endpoint::AeadKey
- endpoint::Controller
- endpoint::ControllerFactory
- endpoint::CryptoServerConfig
- endpoint::HandshakeTokenKey
- ticket::Ticket
Functions
- defaults::prod::default_ap_relay_node
- defaults::prod::default_eu_relay_node
- defaults::prod::default_na_relay_node
- defaults::prod::default_relay_map
- defaults::staging::default_eu_relay_node
- defaults::staging::default_na_relay_node
- defaults::staging::default_relay_map
- dns::default_resolver
- dns::node_info::from_z32
- dns::node_info::to_z32
- dns::resolver
- endpoint::default_relay_mode
- endpoint::force_staging_infra
- endpoint::get_remote_node_id
- endpoint::make_server_config
- test_utils::create_dns_resolver
- test_utils::run_relay_server
- test_utils::run_relay_server_with
- test_utils::run_relay_server_with_stun
- tls::certificate::generate
- tls::certificate::parse
- tls::make_client_config
- tls::make_server_config
Type Aliases
Constants
- defaults::DEFAULT_HTTPS_PORT
- defaults::DEFAULT_HTTP_PORT
- defaults::DEFAULT_METRICS_PORT
- defaults::DEFAULT_RELAY_QUIC_PORT
- defaults::DEFAULT_STUN_PORT
- defaults::prod::AP_RELAY_HOSTNAME
- defaults::prod::EU_RELAY_HOSTNAME
- defaults::prod::NA_RELAY_HOSTNAME
- defaults::staging::EU_RELAY_HOSTNAME
- defaults::staging::NA_RELAY_HOSTNAME
- discovery::dns::N0_DNS_NODE_ORIGIN_PROD
- discovery::dns::N0_DNS_NODE_ORIGIN_STAGING
- discovery::local_swarm_discovery::NAME
- discovery::pkarr::DEFAULT_PKARR_TTL
- discovery::pkarr::DEFAULT_REPUBLISH_INTERVAL
- discovery::pkarr::N0_DNS_PKARR_RELAY_PROD
- discovery::pkarr::N0_DNS_PKARR_RELAY_STAGING
- dns::node_info::IROH_TXT_NAME
- endpoint::ENV_FORCE_STAGING_RELAYS
- key::PUBLIC_KEY_LENGTH
\ No newline at end of file
diff --git a/pr/2965/docs/iroh_net/defaults/constant.DEFAULT_QUIC_PORT.html b/pr/2965/docs/iroh_net/defaults/constant.DEFAULT_QUIC_PORT.html
deleted file mode 100644
index f8eb29a2ef..0000000000
--- a/pr/2965/docs/iroh_net/defaults/constant.DEFAULT_QUIC_PORT.html
+++ /dev/null
@@ -1,7 +0,0 @@
-DEFAULT_QUIC_PORT in iroh_net::defaults - Rust Constant iroh_net::defaults::DEFAULT_QUIC_PORT
source · pub const DEFAULT_QUIC_PORT: u16 = 7842; // 7_842u16
Expand description
The default QUIC port used by the Relay server to accept QUIC connections
-for QUIC address discovery
-The port is “QUIC” typed on a phone keypad.
-The default QUIC port used by the Relay server to accept QUIC connections
-for QUIC address discovery
-The port is “QUIC” typed on a phone keypad.
-
\ No newline at end of file
diff --git a/pr/2965/docs/iroh_net/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html b/pr/2965/docs/iroh_net/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html
new file mode 100644
index 0000000000..1658053dac
--- /dev/null
+++ b/pr/2965/docs/iroh_net/defaults/constant.DEFAULT_RELAY_QUIC_PORT.html
@@ -0,0 +1,7 @@
+DEFAULT_RELAY_QUIC_PORT in iroh_net::defaults - Rust Constant iroh_net::defaults::DEFAULT_RELAY_QUIC_PORT
source · pub const DEFAULT_RELAY_QUIC_PORT: u16 = 7842; // 7_842u16
Expand description
The default QUIC port used by the Relay server to accept QUIC connections
+for QUIC address discovery
+The port is “QUIC” typed on a phone keypad.
+The default QUIC port used by the Relay server to accept QUIC connections
+for QUIC address discovery
+The port is “QUIC” typed on a phone keypad.
+
\ No newline at end of file
diff --git a/pr/2965/docs/iroh_net/defaults/index.html b/pr/2965/docs/iroh_net/defaults/index.html
index 74b8cab74f..7ad60bdbed 100644
--- a/pr/2965/docs/iroh_net/defaults/index.html
+++ b/pr/2965/docs/iroh_net/defaults/index.html
@@ -1,3 +1,3 @@
iroh_net::defaults - Rust Expand description
Default values used in iroh-net
-Modules§
- Production configuration.
- Staging configuration.
Constants§
- The default HTTPS port used by the Relay server.
- The default HTTP port used by the Relay server.
- The default metrics port used by the Relay server.
- The default QUIC port used by the Relay server to accept QUIC connections
+
Modules§
- Production configuration.
- Staging configuration.
Constants§
- The default HTTPS port used by the Relay server.
- The default HTTP port used by the Relay server.
- The default metrics port used by the Relay server.
- The default QUIC port used by the Relay server to accept QUIC connections
for QUIC address discovery
- The default STUN port used by the Relay server.
\ No newline at end of file
diff --git a/pr/2965/docs/iroh_net/defaults/sidebar-items.js b/pr/2965/docs/iroh_net/defaults/sidebar-items.js
index c7fb88ff2e..51b5306f93 100644
--- a/pr/2965/docs/iroh_net/defaults/sidebar-items.js
+++ b/pr/2965/docs/iroh_net/defaults/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {"constant":["DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_QUIC_PORT","DEFAULT_STUN_PORT"],"mod":["prod","staging"]};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"constant":["DEFAULT_HTTPS_PORT","DEFAULT_HTTP_PORT","DEFAULT_METRICS_PORT","DEFAULT_RELAY_QUIC_PORT","DEFAULT_STUN_PORT"],"mod":["prod","staging"]};
\ No newline at end of file
diff --git a/pr/2965/docs/iroh_net/dialer/struct.Dialer.html b/pr/2965/docs/iroh_net/dialer/struct.Dialer.html
index 5d5cfac483..1220ffd98a 100644
--- a/pr/2965/docs/iroh_net/dialer/struct.Dialer.html
+++ b/pr/2965/docs/iroh_net/dialer/struct.Dialer.html
@@ -418,14 +418,14 @@ ready. Read more
where
D: DirectStateStore,
- C: Clock + ReasonablyRealtime,
+ C: ReasonablyRealtime,
MW: RateLimitingMiddleware<<C as Clock>::Instant>,Limits the rate at which the stream produces items. Read more§fn ratelimit_stream_with_jitter<D, C, MW>(
self,
limiter: &'a RateLimiter<NotKeyed, D, C, MW>,
jitter: Jitter
) -> RatelimitedStream<'a, S, D, C, MW>where
D: DirectStateStore,
- C: Clock + ReasonablyRealtime,
+ C: ReasonablyRealtime,
MW: RateLimitingMiddleware<<C as Clock>::Instant>,
Limits the rate at which the stream produces items, with a randomized wait period. Read more§impl<V, T> VZip<V> for Twhere
diff --git a/pr/2965/docs/iroh_net/dns/node_info/enum.IrohAttr.html b/pr/2965/docs/iroh_net/dns/node_info/enum.IrohAttr.html
index 070621795c..b588151367 100644
--- a/pr/2965/docs/iroh_net/dns/node_info/enum.IrohAttr.html
+++ b/pr/2965/docs/iroh_net/dns/node_info/enum.IrohAttr.html
@@ -5,7 +5,7 @@
The resource record uses the lower-case names.
Variants§
Trait Implementations§
source§impl Hash for IrohAttr
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Ord for IrohAttr
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more1.21.0 · source§fn min(self, other: Self) -> Selfwhere
diff --git a/pr/2965/docs/iroh_net/dns/node_info/struct.NodeInfo.html b/pr/2965/docs/iroh_net/dns/node_info/struct.NodeInfo.html
index 8719b2e805..5f7b9beaac 100644
--- a/pr/2965/docs/iroh_net/dns/node_info/struct.NodeInfo.html
+++ b/pr/2965/docs/iroh_net/dns/node_info/struct.NodeInfo.html
@@ -24,7 +24,7 @@
origin: &str,
ttl: u32
) -> Result<impl Iterator<Item = Record> + 'static>Converts into a [hickory_proto::rr::Record] DNS record.
-
Trait Implementations§
Trait Implementations§
source§impl PartialEq for NodeInfo
source§impl Eq for NodeInfo
source§impl StructuralPartialEq for NodeInfo
Auto Trait Implementations§
§impl Freeze for NodeInfo
§impl RefUnwindSafe for NodeInfo
§impl Send for NodeInfo
§impl Sync for NodeInfo
§impl Unpin for NodeInfo
§impl UnwindSafe for NodeInfo
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_net/dns/node_info/struct.TxtAttrs.html b/pr/2965/docs/iroh_net/dns/node_info/struct.TxtAttrs.html
index 2d5c1312da..06fa6112f2 100644
--- a/pr/2965/docs/iroh_net/dns/node_info/struct.TxtAttrs.html
+++ b/pr/2965/docs/iroh_net/dns/node_info/struct.TxtAttrs.html
@@ -34,7 +34,7 @@ all attributes. Can also be used with an enum, if it implements u32
) -> Result<SignedPacket>Creates a [pkarr::SignedPacket]
This constructs a DNS packet and signs it with a SecretKey.
-
Trait Implementations§
Auto Trait Implementations§
Trait Implementations§
Auto Trait Implementations§
§impl<T> Freeze for TxtAttrs<T>
§impl<T> RefUnwindSafe for TxtAttrs<T>where
T: RefUnwindSafe,
§impl<T> Send for TxtAttrs<T>where
T: Send,
§impl<T> Sync for TxtAttrs<T>where
T: Sync,
§impl<T> Unpin for TxtAttrs<T>
§impl<T> UnwindSafe for TxtAttrs<T>where
diff --git a/pr/2965/docs/iroh_net/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html b/pr/2965/docs/iroh_net/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html
index 553fe9dcb2..1d3ecdc855 100644
--- a/pr/2965/docs/iroh_net/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html
+++ b/pr/2965/docs/iroh_net/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html
@@ -1,2 +1,2 @@
-ENV_FORCE_STAGING_RELAYS in iroh_net::endpoint - Rust Constant iroh_net::endpoint::ENV_FORCE_STAGING_RELAYS
source · pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS";
Available on non-test only.Expand description
Environment variable to force the use of staging relays.
+ENV_FORCE_STAGING_RELAYS in iroh_net::endpoint - Rust Constant iroh_net::endpoint::ENV_FORCE_STAGING_RELAYS
source · pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS";
Available on non-test only.Expand description
Environment variable to force the use of staging relays.
\ No newline at end of file
diff --git a/pr/2965/docs/iroh_net/endpoint/enum.ConnectionError.html b/pr/2965/docs/iroh_net/endpoint/enum.ConnectionError.html
index 5f56808930..726d2d67f3 100644
--- a/pr/2965/docs/iroh_net/endpoint/enum.ConnectionError.html
+++ b/pr/2965/docs/iroh_net/endpoint/enum.ConnectionError.html
@@ -20,7 +20,7 @@ and §LocallyClosed
The local application closed the connection
§CidsExhausted
The connection could not be created because not enough of the CID space is available
Try using longer connection IDs.
-Trait Implementations§
§impl Clone for ConnectionError
§fn clone(&self) -> ConnectionError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for ConnectionError
§impl Display for ConnectionError
§impl Error for ConnectionError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<Close> for ConnectionError
§fn from(x: Close) -> ConnectionError
Converts to this type from the input type.§impl From<ConnectionError> for ReadError
§fn from(source: ConnectionError) -> ReadError
Converts to this type from the input type.§impl From<ConnectionError> for ResetError
§fn from(source: ConnectionError) -> ResetError
Converts to this type from the input type.§impl From<ConnectionError> for SendDatagramError
§fn from(source: ConnectionError) -> SendDatagramError
Converts to this type from the input type.§impl From<ConnectionError> for StoppedError
§fn from(source: ConnectionError) -> StoppedError
Converts to this type from the input type.§impl From<ConnectionError> for WriteError
§fn from(source: ConnectionError) -> WriteError
Converts to this type from the input type.§impl From<Error> for ConnectionError
§fn from(source: Error) -> ConnectionError
Converts to this type from the input type.§impl PartialEq for ConnectionError
§fn eq(&self, other: &ConnectionError) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
§impl Clone for ConnectionError
§fn clone(&self) -> ConnectionError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for ConnectionError
§impl Display for ConnectionError
§impl Error for ConnectionError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<Close> for ConnectionError
§fn from(x: Close) -> ConnectionError
Converts to this type from the input type.§impl From<ConnectionError> for ReadError
§fn from(source: ConnectionError) -> ReadError
Converts to this type from the input type.§impl From<ConnectionError> for ResetError
§fn from(source: ConnectionError) -> ResetError
Converts to this type from the input type.§impl From<ConnectionError> for SendDatagramError
§fn from(source: ConnectionError) -> SendDatagramError
Converts to this type from the input type.§impl From<ConnectionError> for StoppedError
§fn from(source: ConnectionError) -> StoppedError
Converts to this type from the input type.§impl From<ConnectionError> for WriteError
§fn from(source: ConnectionError) -> WriteError
Converts to this type from the input type.§impl From<Error> for ConnectionError
§fn from(source: Error) -> ConnectionError
Converts to this type from the input type.§impl PartialEq for ConnectionError
§fn eq(&self, other: &ConnectionError) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Eq for ConnectionError
§impl StructuralPartialEq for ConnectionError
Auto Trait Implementations§
§impl !Freeze for ConnectionError
§impl RefUnwindSafe for ConnectionError
§impl Send for ConnectionError
§impl Sync for ConnectionError
§impl Unpin for ConnectionError
§impl UnwindSafe for ConnectionError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/enum.ConnectionType.html b/pr/2965/docs/iroh_net/endpoint/enum.ConnectionType.html
index 8ca9f22b8d..f2dcc38287 100644
--- a/pr/2965/docs/iroh_net/endpoint/enum.ConnectionType.html
+++ b/pr/2965/docs/iroh_net/endpoint/enum.ConnectionType.html
@@ -10,8 +10,8 @@
This is the case if we do have a UDP address, but are missing a recent confirmation that
the address works.
§None
We have no verified connection to this PublicKey
-
Trait Implementations§
source§impl Clone for ConnectionType
source§fn clone(&self) -> ConnectionType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for ConnectionType
source§impl<'de> Deserialize<'de> for ConnectionType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for ConnectionType
source§impl PartialEq for ConnectionType
source§fn eq(&self, other: &ConnectionType) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for ConnectionType
source§fn clone(&self) -> ConnectionType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for ConnectionType
source§impl<'de> Deserialize<'de> for ConnectionType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for ConnectionType
source§impl PartialEq for ConnectionType
source§fn eq(&self, other: &ConnectionType) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for ConnectionType
source§impl Eq for ConnectionType
source§impl StructuralPartialEq for ConnectionType
Auto Trait Implementations§
§impl Freeze for ConnectionType
§impl RefUnwindSafe for ConnectionType
§impl Send for ConnectionType
§impl Sync for ConnectionType
§impl Unpin for ConnectionType
§impl UnwindSafe for ConnectionType
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/enum.ControlMsg.html b/pr/2965/docs/iroh_net/endpoint/enum.ControlMsg.html
index 7caa5ca7ff..7555289055 100644
--- a/pr/2965/docs/iroh_net/endpoint/enum.ControlMsg.html
+++ b/pr/2965/docs/iroh_net/endpoint/enum.ControlMsg.html
@@ -6,8 +6,8 @@
Variants§
§Ping
We received a Ping from the node.
§Pong
We received a Pong from the node.
§CallMeMaybe
We received a CallMeMaybe.
-Trait Implementations§
source§impl Clone for ControlMsg
source§fn clone(&self) -> ControlMsg
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for ControlMsg
source§impl<'de> Deserialize<'de> for ControlMsg
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for ControlMsg
source§impl PartialEq for ControlMsg
source§fn eq(&self, other: &ControlMsg) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
source§impl Clone for ControlMsg
source§fn clone(&self) -> ControlMsg
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for ControlMsg
source§impl<'de> Deserialize<'de> for ControlMsg
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for ControlMsg
source§impl PartialEq for ControlMsg
source§fn eq(&self, other: &ControlMsg) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl Serialize for ControlMsg
source§impl Copy for ControlMsg
source§impl Eq for ControlMsg
source§impl StructuralPartialEq for ControlMsg
Auto Trait Implementations§
§impl Freeze for ControlMsg
§impl RefUnwindSafe for ControlMsg
§impl Send for ControlMsg
§impl Sync for ControlMsg
§impl Unpin for ControlMsg
§impl UnwindSafe for ControlMsg
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/enum.DirectAddrType.html b/pr/2965/docs/iroh_net/endpoint/enum.DirectAddrType.html
index 7fcf66821b..c6aafed304 100644
--- a/pr/2965/docs/iroh_net/endpoint/enum.DirectAddrType.html
+++ b/pr/2965/docs/iroh_net/endpoint/enum.DirectAddrType.html
@@ -1,4 +1,4 @@
-DirectAddrType in iroh_net::endpoint - Rust Enum iroh_net::endpoint::DirectAddrType
source · pub enum DirectAddrType {
+DirectAddrType in iroh_net::endpoint - Rust Enum iroh_net::endpoint::DirectAddrType
source · pub enum DirectAddrType {
Unknown,
Local,
Stun,
@@ -20,16 +20,16 @@ get a publicly routable direct address.
It is possible to configure iroh-net to bound to a specific port and independently
configure the router to forward this port to the iroh-net node. This indicates a
situation like this, which still uses STUN to discover the public address.
-
Trait Implementations§
source§impl Clone for DirectAddrType
source§fn clone(&self) -> DirectAddrType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for DirectAddrType
source§impl Display for DirectAddrType
source§impl Hash for DirectAddrType
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Clone for DirectAddrType
source§fn clone(&self) -> DirectAddrType
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for DirectAddrType
source§impl Display for DirectAddrType
source§impl Hash for DirectAddrType
source§impl Ord for DirectAddrType
source§impl Ord for DirectAddrType
source§fn cmp(&self, other: &DirectAddrType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DirectAddrType
source§impl PartialEq for DirectAddrType
source§fn eq(&self, other: &DirectAddrType) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl PartialOrd for DirectAddrType
source§impl PartialOrd for DirectAddrType
source§fn partial_cmp(&self, other: &DirectAddrType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read moresource§impl Copy for DirectAddrType
source§impl Eq for DirectAddrType
source§impl StructuralPartialEq for DirectAddrType
Auto Trait Implementations§
§impl Freeze for DirectAddrType
§impl RefUnwindSafe for DirectAddrType
§impl Send for DirectAddrType
§impl Sync for DirectAddrType
§impl Unpin for DirectAddrType
§impl UnwindSafe for DirectAddrType
Blanket Implementations§
source§impl Copy for DirectAddrType
source§impl Eq for DirectAddrType
source§impl StructuralPartialEq for DirectAddrType
Auto Trait Implementations§
§impl Freeze for DirectAddrType
§impl RefUnwindSafe for DirectAddrType
§impl Send for DirectAddrType
§impl Sync for DirectAddrType
§impl Unpin for DirectAddrType
§impl UnwindSafe for DirectAddrType
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2965/docs/iroh_net/endpoint/enum.ReadError.html b/pr/2965/docs/iroh_net/endpoint/enum.ReadError.html
index 9559897855..6060cd2642 100644
--- a/pr/2965/docs/iroh_net/endpoint/enum.ReadError.html
+++ b/pr/2965/docs/iroh_net/endpoint/enum.ReadError.html
@@ -15,7 +15,7 @@ stream which cannot be recovered, making further ordered reads impossible.
§ZeroRttRejected
This was a 0-RTT stream and the server rejected it
Can only occur on clients for 0-RTT streams, which can be opened using
Connecting::into_0rtt().
-Trait Implementations§
§impl Error for ReadError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<ConnectionError> for ReadError
§fn from(source: ConnectionError) -> ReadError
Converts to this type from the input type.§impl From<ReadError> for ReadExactError
§fn from(source: ReadError) -> ReadExactError
Converts to this type from the input type.§impl From<ReadError> for ReadToEndError
§fn from(source: ReadError) -> ReadToEndError
Converts to this type from the input type.§impl From<ResetError> for ReadError
§fn from(e: ResetError) -> ReadError
Converts to this type from the input type.§impl PartialEq for ReadError
Trait Implementations§
§impl Error for ReadError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<ConnectionError> for ReadError
§fn from(source: ConnectionError) -> ReadError
Converts to this type from the input type.§impl From<ReadError> for ReadExactError
§fn from(source: ReadError) -> ReadExactError
Converts to this type from the input type.§impl From<ReadError> for ReadToEndError
§fn from(source: ReadError) -> ReadToEndError
Converts to this type from the input type.§impl From<ResetError> for ReadError
§fn from(e: ResetError) -> ReadError
Converts to this type from the input type.§impl Eq for ReadError
§impl StructuralPartialEq for ReadError
Auto Trait Implementations§
§impl !Freeze for ReadError
§impl RefUnwindSafe for ReadError
§impl Send for ReadError
§impl Sync for ReadError
§impl Unpin for ReadError
§impl UnwindSafe for ReadError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/enum.RelayMode.html b/pr/2965/docs/iroh_net/endpoint/enum.RelayMode.html
index d7f5db1ad2..2789289c38 100644
--- a/pr/2965/docs/iroh_net/endpoint/enum.RelayMode.html
+++ b/pr/2965/docs/iroh_net/endpoint/enum.RelayMode.html
@@ -1,4 +1,4 @@
-RelayMode in iroh_net::endpoint - Rust pub enum RelayMode {
+RelayMode in iroh_net::endpoint - Rust pub enum RelayMode {
Disabled,
Default,
Staging,
@@ -9,10 +9,10 @@
See crate::defaults::prod for the severs used.
§Staging
Use the staging relay servers from n0.
§Custom(RelayMap)
Use a custom relay map.
-
Implementations§
Trait Implementations§
source§impl PartialEq for RelayMode
Implementations§
Trait Implementations§
source§impl PartialEq for RelayMode
source§impl Eq for RelayMode
source§impl StructuralPartialEq for RelayMode
Auto Trait Implementations§
§impl Freeze for RelayMode
§impl RefUnwindSafe for RelayMode
§impl Send for RelayMode
§impl Sync for RelayMode
§impl Unpin for RelayMode
§impl UnwindSafe for RelayMode
Blanket Implementations§
source§impl Eq for RelayMode
source§impl StructuralPartialEq for RelayMode
Auto Trait Implementations§
§impl Freeze for RelayMode
§impl RefUnwindSafe for RelayMode
§impl Send for RelayMode
§impl Sync for RelayMode
§impl Unpin for RelayMode
§impl UnwindSafe for RelayMode
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2965/docs/iroh_net/endpoint/enum.ResetError.html b/pr/2965/docs/iroh_net/endpoint/enum.ResetError.html
index 44ca8f078e..cb606fbacb 100644
--- a/pr/2965/docs/iroh_net/endpoint/enum.ResetError.html
+++ b/pr/2965/docs/iroh_net/endpoint/enum.ResetError.html
@@ -6,7 +6,7 @@
§ZeroRttRejected
This was a 0-RTT stream and the server rejected it
Can only occur on clients for 0-RTT streams, which can be opened using
Connecting::into_0rtt().
-Trait Implementations§
§impl Clone for ResetError
§fn clone(&self) -> ResetError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for ResetError
§impl Display for ResetError
§impl Error for ResetError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<ConnectionError> for ResetError
§fn from(source: ConnectionError) -> ResetError
Converts to this type from the input type.§impl From<ResetError> for ReadError
§fn from(e: ResetError) -> ReadError
Converts to this type from the input type.§impl PartialEq for ResetError
§fn eq(&self, other: &ResetError) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
§impl Clone for ResetError
§fn clone(&self) -> ResetError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for ResetError
§impl Display for ResetError
§impl Error for ResetError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<ConnectionError> for ResetError
§fn from(source: ConnectionError) -> ResetError
Converts to this type from the input type.§impl From<ResetError> for ReadError
§fn from(e: ResetError) -> ReadError
Converts to this type from the input type.§impl PartialEq for ResetError
§fn eq(&self, other: &ResetError) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Eq for ResetError
§impl StructuralPartialEq for ResetError
Auto Trait Implementations§
§impl !Freeze for ResetError
§impl RefUnwindSafe for ResetError
§impl Send for ResetError
§impl Sync for ResetError
§impl Unpin for ResetError
§impl UnwindSafe for ResetError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/enum.StoppedError.html b/pr/2965/docs/iroh_net/endpoint/enum.StoppedError.html
index 22829efb9a..de7cd05a8e 100644
--- a/pr/2965/docs/iroh_net/endpoint/enum.StoppedError.html
+++ b/pr/2965/docs/iroh_net/endpoint/enum.StoppedError.html
@@ -6,7 +6,7 @@
§ZeroRttRejected
This was a 0-RTT stream and the server rejected it
Can only occur on clients for 0-RTT streams, which can be opened using
Connecting::into_0rtt().
-
Trait Implementations§
§impl Clone for StoppedError
§fn clone(&self) -> StoppedError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for StoppedError
§impl Display for StoppedError
§impl Error for StoppedError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<ConnectionError> for StoppedError
§fn from(source: ConnectionError) -> StoppedError
Converts to this type from the input type.§impl From<StoppedError> for WriteError
§fn from(x: StoppedError) -> WriteError
Converts to this type from the input type.§impl PartialEq for StoppedError
§fn eq(&self, other: &StoppedError) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
§impl Clone for StoppedError
§fn clone(&self) -> StoppedError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for StoppedError
§impl Display for StoppedError
§impl Error for StoppedError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<ConnectionError> for StoppedError
§fn from(source: ConnectionError) -> StoppedError
Converts to this type from the input type.§impl From<StoppedError> for WriteError
§fn from(x: StoppedError) -> WriteError
Converts to this type from the input type.§impl PartialEq for StoppedError
§fn eq(&self, other: &StoppedError) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Eq for StoppedError
§impl StructuralPartialEq for StoppedError
Auto Trait Implementations§
§impl !Freeze for StoppedError
§impl RefUnwindSafe for StoppedError
§impl Send for StoppedError
§impl Sync for StoppedError
§impl Unpin for StoppedError
§impl UnwindSafe for StoppedError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/enum.WriteError.html b/pr/2965/docs/iroh_net/endpoint/enum.WriteError.html
index ce2c524a27..58c972f935 100644
--- a/pr/2965/docs/iroh_net/endpoint/enum.WriteError.html
+++ b/pr/2965/docs/iroh_net/endpoint/enum.WriteError.html
@@ -11,7 +11,7 @@
§ZeroRttRejected
This was a 0-RTT stream and the server rejected it
Can only occur on clients for 0-RTT streams, which can be opened using
Connecting::into_0rtt().
-
Trait Implementations§
§impl Clone for WriteError
§fn clone(&self) -> WriteError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for WriteError
§impl Display for WriteError
§impl Error for WriteError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<ClosedStream> for WriteError
§fn from(_: ClosedStream) -> WriteError
Converts to this type from the input type.§impl From<ConnectionError> for WriteError
§fn from(source: ConnectionError) -> WriteError
Converts to this type from the input type.§impl From<StoppedError> for WriteError
§fn from(x: StoppedError) -> WriteError
Converts to this type from the input type.§impl PartialEq for WriteError
§fn eq(&self, other: &WriteError) -> bool
This method tests for self and other values to be equal, and is used
+Trait Implementations§
§impl Clone for WriteError
§fn clone(&self) -> WriteError
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more§impl Debug for WriteError
§impl Display for WriteError
§impl Error for WriteError
§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()§impl From<ClosedStream> for WriteError
§fn from(_: ClosedStream) -> WriteError
Converts to this type from the input type.§impl From<ConnectionError> for WriteError
§fn from(source: ConnectionError) -> WriteError
Converts to this type from the input type.§impl From<StoppedError> for WriteError
§fn from(x: StoppedError) -> WriteError
Converts to this type from the input type.§impl PartialEq for WriteError
§fn eq(&self, other: &WriteError) -> bool
This method tests for self and other values to be equal, and is used
by ==.§impl Eq for WriteError
§impl StructuralPartialEq for WriteError
Auto Trait Implementations§
§impl !Freeze for WriteError
§impl RefUnwindSafe for WriteError
§impl Send for WriteError
§impl Sync for WriteError
§impl Unpin for WriteError
§impl UnwindSafe for WriteError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/fn.default_relay_mode.html b/pr/2965/docs/iroh_net/endpoint/fn.default_relay_mode.html
index c6c70dd5f9..54810603e5 100644
--- a/pr/2965/docs/iroh_net/endpoint/fn.default_relay_mode.html
+++ b/pr/2965/docs/iroh_net/endpoint/fn.default_relay_mode.html
@@ -1,4 +1,4 @@
-default_relay_mode in iroh_net::endpoint - Rust Function iroh_net::endpoint::default_relay_mode
source · pub fn default_relay_mode() -> RelayMode
Expand description
Returns the default relay mode.
+default_relay_mode in iroh_net::endpoint - Rust Function iroh_net::endpoint::default_relay_mode
source · pub fn default_relay_mode() -> RelayMode
Expand description
Returns the default relay mode.
If the IROH_FORCE_STAGING_RELAYS environment variable is non empty, it will return RelayMode::Staging.
Otherwise, it will return RelayMode::Default.
\ No newline at end of file
diff --git a/pr/2965/docs/iroh_net/endpoint/fn.force_staging_infra.html b/pr/2965/docs/iroh_net/endpoint/fn.force_staging_infra.html
index c10abf0a53..38e118aad8 100644
--- a/pr/2965/docs/iroh_net/endpoint/fn.force_staging_infra.html
+++ b/pr/2965/docs/iroh_net/endpoint/fn.force_staging_infra.html
@@ -1,2 +1,2 @@
-force_staging_infra in iroh_net::endpoint - Rust Function iroh_net::endpoint::force_staging_infra
source · pub fn force_staging_infra() -> bool
Expand description
Returns true if the use of staging relays is forced.
+force_staging_infra in iroh_net::endpoint - Rust Function iroh_net::endpoint::force_staging_infra
source · pub fn force_staging_infra() -> bool
Expand description
Returns true if the use of staging relays is forced.
\ No newline at end of file
diff --git a/pr/2965/docs/iroh_net/endpoint/fn.get_remote_node_id.html b/pr/2965/docs/iroh_net/endpoint/fn.get_remote_node_id.html
index 27f14b2b5e..c9aed2277f 100644
--- a/pr/2965/docs/iroh_net/endpoint/fn.get_remote_node_id.html
+++ b/pr/2965/docs/iroh_net/endpoint/fn.get_remote_node_id.html
@@ -1,2 +1,2 @@
-get_remote_node_id in iroh_net::endpoint - Rust Function iroh_net::endpoint::get_remote_node_id
source · pub fn get_remote_node_id(connection: &Connection) -> Result<PublicKey>
Expand description
Extract the PublicKey from the peer’s TLS certificate.
+get_remote_node_id in iroh_net::endpoint - Rust Function iroh_net::endpoint::get_remote_node_id
source · pub fn get_remote_node_id(connection: &Connection) -> Result<PublicKey>
Expand description
Extract the PublicKey from the peer’s TLS certificate.
\ No newline at end of file
diff --git a/pr/2965/docs/iroh_net/endpoint/index.html b/pr/2965/docs/iroh_net/endpoint/index.html
index bcd44645aa..2ac2963704 100644
--- a/pr/2965/docs/iroh_net/endpoint/index.html
+++ b/pr/2965/docs/iroh_net/endpoint/index.html
@@ -1,4 +1,4 @@
-iroh_net::endpoint - Rust Expand description
The Endpoint allows establishing connections to other iroh-net nodes.
+iroh_net::endpoint - Rust Expand description
The Endpoint allows establishing connections to other iroh-net nodes.
The Endpoint is the main API interface to manage a local iroh-net node. It allows
connecting to and accepting connections from other nodes. See the module docs for
more details on how iroh-net connections work.
diff --git a/pr/2965/docs/iroh_net/endpoint/struct.Accept.html b/pr/2965/docs/iroh_net/endpoint/struct.Accept.html
index 4acec28f7f..e5ee8c8822 100644
--- a/pr/2965/docs/iroh_net/endpoint/struct.Accept.html
+++ b/pr/2965/docs/iroh_net/endpoint/struct.Accept.html
@@ -1,6 +1,6 @@
-Accept in iroh_net::endpoint - Rust pub struct Accept<'a> { /* private fields */ }
Expand description
Future produced by Endpoint::accept.
-Trait Implementations§
source§impl<'pin, 'a> Unpin for Accept<'a>where
+Accept in iroh_net::endpoint - Rust pub struct Accept<'a> { /* private fields */ }
Expand description
Future produced by Endpoint::accept.
+Trait Implementations§
source§impl<'pin, 'a> Unpin for Accept<'a>where
PinnedFieldsOf<__Accept<'pin, 'a>>: Unpin,
Auto Trait Implementations§
§impl<'a> !Freeze for Accept<'a>
§impl<'a> !RefUnwindSafe for Accept<'a>
§impl<'a> Send for Accept<'a>
§impl<'a> Sync for Accept<'a>
§impl<'a> !UnwindSafe for Accept<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/struct.Connecting.html b/pr/2965/docs/iroh_net/endpoint/struct.Connecting.html
index 41fb4bb3c2..1de66a1705 100644
--- a/pr/2965/docs/iroh_net/endpoint/struct.Connecting.html
+++ b/pr/2965/docs/iroh_net/endpoint/struct.Connecting.html
@@ -1,11 +1,11 @@
-Connecting in iroh_net::endpoint - Rust Struct iroh_net::endpoint::Connecting
source · pub struct Connecting { /* private fields */ }
Expand description
In-progress connection attempt future
-Implementations§
source§impl Connecting
sourcepub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self>
Convert into a 0-RTT or 0.5-RTT connection at the cost of weakened security.
-sourcepub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError>
Parameters negotiated during the handshake
-sourcepub fn local_ip(&self) -> Option<IpAddr>
The local IP address which was used when the peer established the connection.
-sourcepub fn remote_address(&self) -> SocketAddr
The peer’s UDP address.
-Trait Implementations§
source§impl Debug for Connecting
source§impl Future for Connecting
§type Output = Result<Connection, ConnectionError>
The type of value produced on completion.source§impl<'pin> Unpin for Connectingwhere
+Connecting in iroh_net::endpoint - Rust Struct iroh_net::endpoint::Connecting
source · pub struct Connecting { /* private fields */ }
Expand description
In-progress connection attempt future
+Implementations§
source§impl Connecting
sourcepub fn into_0rtt(self) -> Result<(Connection, ZeroRttAccepted), Self>
Convert into a 0-RTT or 0.5-RTT connection at the cost of weakened security.
+sourcepub async fn handshake_data(&mut self) -> Result<Box<dyn Any>, ConnectionError>
Parameters negotiated during the handshake
+sourcepub fn local_ip(&self) -> Option<IpAddr>
The local IP address which was used when the peer established the connection.
+sourcepub fn remote_address(&self) -> SocketAddr
The peer’s UDP address.
+Trait Implementations§
source§impl Debug for Connecting
source§impl Future for Connecting
§type Output = Result<Connection, ConnectionError>
The type of value produced on completion.source§impl<'pin> Unpin for Connectingwhere
PinnedFieldsOf<__Connecting<'pin>>: Unpin,
Auto Trait Implementations§
§impl Freeze for Connecting
§impl !RefUnwindSafe for Connecting
§impl Send for Connecting
§impl Sync for Connecting
§impl !UnwindSafe for Connecting
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/struct.ConnectionTypeStream.html b/pr/2965/docs/iroh_net/endpoint/struct.ConnectionTypeStream.html
index e53c42da9a..44518c93ff 100644
--- a/pr/2965/docs/iroh_net/endpoint/struct.ConnectionTypeStream.html
+++ b/pr/2965/docs/iroh_net/endpoint/struct.ConnectionTypeStream.html
@@ -405,14 +405,14 @@ ready. Read more
where
D: DirectStateStore,
- C: Clock + ReasonablyRealtime,
+ C: ReasonablyRealtime,
MW: RateLimitingMiddleware<<C as Clock>::Instant>, Limits the rate at which the stream produces items. Read more§fn ratelimit_stream_with_jitter<D, C, MW>(
self,
limiter: &'a RateLimiter<NotKeyed, D, C, MW>,
jitter: Jitter
) -> RatelimitedStream<'a, S, D, C, MW>where
D: DirectStateStore,
- C: Clock + ReasonablyRealtime,
+ C: ReasonablyRealtime,
MW: RateLimitingMiddleware<<C as Clock>::Instant>,
Limits the rate at which the stream produces items, with a randomized wait period. Read more§impl<V, T> VZip<V> for Twhere
diff --git a/pr/2965/docs/iroh_net/endpoint/struct.DirectAddr.html b/pr/2965/docs/iroh_net/endpoint/struct.DirectAddr.html
index 436448a770..257d4ef789 100644
--- a/pr/2965/docs/iroh_net/endpoint/struct.DirectAddr.html
+++ b/pr/2965/docs/iroh_net/endpoint/struct.DirectAddr.html
@@ -1,4 +1,4 @@
-DirectAddr in iroh_net::endpoint - Rust Struct iroh_net::endpoint::DirectAddr
source · pub struct DirectAddr {
+DirectAddr in iroh_net::endpoint - Rust Struct iroh_net::endpoint::DirectAddr
source · pub struct DirectAddr {
pub addr: SocketAddr,
pub typ: DirectAddrType,
}
Expand description
A direct address on which an iroh-node might be contactable.
@@ -7,16 +7,16 @@ contacted. These can come from various sources depending on the network topolog
iroh-net node, see DirectAddrType for the several kinds of sources.
Fields§
§addr: SocketAddrThe address.
§typ: DirectAddrTypeThe origin of this direct address.
-Trait Implementations§
source§impl Clone for DirectAddr
source§fn clone(&self) -> DirectAddr
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for DirectAddr
source§impl Hash for DirectAddr
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+Trait Implementations§
source§impl Clone for DirectAddr
source§fn clone(&self) -> DirectAddr
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read moresource§impl Debug for DirectAddr
source§impl Hash for DirectAddr
source§impl Ord for DirectAddr
source§impl Ord for DirectAddr
source§fn cmp(&self, other: &DirectAddr) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read moresource§impl PartialEq for DirectAddr
source§impl PartialEq for DirectAddr
source§fn eq(&self, other: &DirectAddr) -> bool
This method tests for self and other values to be equal, and is used
by ==.source§impl PartialOrd for DirectAddr
source§impl PartialOrd for DirectAddr
source§fn partial_cmp(&self, other: &DirectAddr) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read moresource§impl Eq for DirectAddr
source§impl StructuralPartialEq for DirectAddr
Auto Trait Implementations§
§impl Freeze for DirectAddr
§impl RefUnwindSafe for DirectAddr
§impl Send for DirectAddr
§impl Sync for DirectAddr
§impl Unpin for DirectAddr
§impl UnwindSafe for DirectAddr
Blanket Implementations§
source§impl Eq for DirectAddr
source§impl StructuralPartialEq for DirectAddr
Auto Trait Implementations§
§impl Freeze for DirectAddr
§impl RefUnwindSafe for DirectAddr
§impl Send for DirectAddr
§impl Sync for DirectAddr
§impl Unpin for DirectAddr
§impl UnwindSafe for DirectAddr
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§fn implicit(
diff --git a/pr/2965/docs/iroh_net/endpoint/struct.DirectAddrsStream.html b/pr/2965/docs/iroh_net/endpoint/struct.DirectAddrsStream.html
index 122b86bac0..b7e80273b3 100644
--- a/pr/2965/docs/iroh_net/endpoint/struct.DirectAddrsStream.html
+++ b/pr/2965/docs/iroh_net/endpoint/struct.DirectAddrsStream.html
@@ -1,5 +1,5 @@
-DirectAddrsStream in iroh_net::endpoint - Rust Struct iroh_net::endpoint::DirectAddrsStream
source · pub struct DirectAddrsStream { /* private fields */ }
Expand description
Stream returning local endpoints as they change.
-Trait Implementations§
source§impl Debug for DirectAddrsStream