diff --git a/pr/3262/docs/help.html b/pr/3262/docs/help.html index ae20f95c20..d9178219d7 100644 --- a/pr/3262/docs/help.html +++ b/pr/3262/docs/help.html @@ -1 +1 @@ -
pub struct DnsDiscovery { /* private fields */ }wasm_browser only.DNS node discovery
+pub struct DnsDiscovery { /* private fields */ }wasm_browser only.DNS node discovery
When asked to resolve a NodeId, this service performs a lookup in the Domain Name System (DNS).
It uses the Endpoint’s DNS resolver to query for TXT records under the domain
_iroh.<z32-node-id>.<origin-domain>:
Returns the argument unchanged.
+ T: ?Sized,pub struct MdnsDiscovery { /* private fields */ }discovery-local-network only.Discovery using swarm-discovery, a variation on mdns
pub struct MdnsDiscovery { /* private fields */ }discovery-local-network only.Discovery using swarm-discovery, a variation on mdns
Create a new MdnsDiscovery Service.
This starts a [Discoverer] that broadcasts your addresses and receives addresses from other nodes in your local network.
Returns the argument unchanged.
+ T: ?Sized,discovery-pkarr-dht only.Pkarr based node discovery for iroh, supporting both relay servers and the DHT.
+discovery-pkarr-dht only.Pkarr based node discovery for iroh, supporting both relay servers and the DHT.
This module contains pkarr-based node discovery for iroh which can use both pkarr relay servers as well as the Mainline DHT directly. See the pkarr module for an overview of pkarr.
diff --git a/pr/3262/docs/iroh/discovery/pkarr/dht/struct.Builder.html b/pr/3262/docs/iroh/discovery/pkarr/dht/struct.Builder.html index f6508f3a07..8e49377787 100644 --- a/pr/3262/docs/iroh/discovery/pkarr/dht/struct.Builder.html +++ b/pr/3262/docs/iroh/discovery/pkarr/dht/struct.Builder.html @@ -1,17 +1,17 @@ -pub struct Builder { /* private fields */ }discovery-pkarr-dht only.Builder for DhtDiscovery.
pub struct Builder { /* private fields */ }discovery-pkarr-dht only.Builder for DhtDiscovery.
By default, publishing to the DHT is enabled, and relay publishing is disabled.
-Sets the secret key to use for signing the DNS packets.
+Sets the secret key to use for signing the DNS packets.
Without a secret key, the node will not publish its address to the DHT.
-Sets the pkarr relay URL to use.
-Uses the default number 0 pkarr relay URL.
-Sets whether to include the direct addresses in the DNS packet.
-Sets the initial delay before the first publish.
-Sets the republish delay for the DHT.
-Builds the discovery mechanism.
-Sets the pkarr relay URL to use.
+Uses the default number 0 pkarr relay URL.
+Sets whether to include the direct addresses in the DNS packet.
+Sets the initial delay before the first publish.
+Sets the republish delay for the DHT.
+Builds the discovery mechanism.
+Returns the argument unchanged.
+ T: ?Sized,pub struct DhtDiscovery(/* private fields */);discovery-pkarr-dht only.Pkarr Mainline DHT and relay server node discovery.
+pub struct DhtDiscovery(/* private fields */);discovery-pkarr-dht only.Pkarr Mainline DHT and relay server node discovery.
It stores node addresses in DNS records, signed by the node’s private key, and publishes them to the BitTorrent Mainline DHT. See the pkarr module for more details.
This implements the Discovery trait to be used as a node discovery service which can
be used as both a publisher and resolver. Calling DhtDiscovery::publish will start
a background task that periodically publishes the node address.
Creates a new builder for DhtDiscovery.
source. Read moreCreates a new builder for DhtDiscovery.
source. Read moreSpan], returning an
diff --git a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html
index b74f9eb11d..34b23853e1 100644
--- a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html
+++ b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html
@@ -1,4 +1,4 @@
-pub struct PkarrPublisher { /* private fields */ }Publisher of node discovery information to a pkarr relay.
+pub struct PkarrPublisher { /* private fields */ }Publisher of node discovery information to a pkarr relay.
This publisher uses HTTP to publish node discovery information to a pkarr relay server, see the module docs for details.
This implements the Discovery trait to be used as a node discovery service. Note
@@ -41,7 +41,7 @@ server is used instead.
Span], returning an
diff --git a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html
index eb5006a9ed..c83a5caded 100644
--- a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html
+++ b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html
@@ -1,4 +1,4 @@
-pub struct PkarrRelayClient { /* private fields */ }A pkarr client to publish [pkarr::SignedPacket]s to a pkarr relay.
pub struct PkarrRelayClient { /* private fields */ }A pkarr client to publish [pkarr::SignedPacket]s to a pkarr relay.
Resolves a [SignedPacket] for the given NodeId.
Publishes a [SignedPacket].
Span], returning an
diff --git a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrResolver.html b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrResolver.html
index 9503cc24c3..874677a18a 100644
--- a/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrResolver.html
+++ b/pr/3262/docs/iroh/discovery/pkarr/struct.PkarrResolver.html
@@ -1,4 +1,4 @@
-pub struct PkarrResolver { /* private fields */ }Resolver of node discovery information from a pkarr relay.
+pub struct PkarrResolver { /* private fields */ }Resolver of node discovery information from a pkarr relay.
The resolver uses HTTP to query node discovery information from a pkarr relay server, see the module docs for details.
This implements the Discovery trait to be used as a node discovery service. Note
@@ -26,7 +26,7 @@ server is used instead.
Span], returning an
diff --git a/pr/3262/docs/iroh/discovery/static_provider/struct.StaticProvider.html b/pr/3262/docs/iroh/discovery/static_provider/struct.StaticProvider.html
index 0a7f3967e1..e5e4624299 100644
--- a/pr/3262/docs/iroh/discovery/static_provider/struct.StaticProvider.html
+++ b/pr/3262/docs/iroh/discovery/static_provider/struct.StaticProvider.html
@@ -1,4 +1,4 @@
-pub struct StaticProvider { /* private fields */ }A static node discovery to manually add node addressing information.
+pub struct StaticProvider { /* private fields */ }A static node discovery to manually add node addressing information.
Often an application might get node addressing information out-of-band in an
application-specific way. NodeTicket’s are one common way used to achieve this.
This “static” addressing information is often only usable for a limited time so needs to
@@ -79,7 +79,7 @@ relay URL is overwritten.
Span], returning an
diff --git a/pr/3262/docs/iroh/discovery/struct.ConcurrentDiscovery.html b/pr/3262/docs/iroh/discovery/struct.ConcurrentDiscovery.html
index 10c4ce99b8..69cb651207 100644
--- a/pr/3262/docs/iroh/discovery/struct.ConcurrentDiscovery.html
+++ b/pr/3262/docs/iroh/discovery/struct.ConcurrentDiscovery.html
@@ -1,4 +1,4 @@
-pub struct ConcurrentDiscovery { /* private fields */ }A discovery service that combines multiple discovery sources.
+pub struct ConcurrentDiscovery { /* private fields */ }A discovery service that combines multiple discovery sources.
The discovery services will resolve concurrently.
Creates an empty ConcurrentDiscovery.
Creates a new ConcurrentDiscovery.
Returns the argument unchanged.
+ T: ?Sized,pub struct DiscoveryItem { /* private fields */ }Node discovery results from Discovery services.
pub struct DiscoveryItem { /* private fields */ }Node discovery results from Discovery services.
This is the item in the streams returned from Discovery::resolve and
Discovery::subscribe. It contains the NodeData about the discovered node,
and some additional metadata about the discovery.
Span], returning an
diff --git a/pr/3262/docs/iroh/discovery/struct.Lagged.html b/pr/3262/docs/iroh/discovery/struct.Lagged.html
index 91f46f8ff7..6058f3b12e 100644
--- a/pr/3262/docs/iroh/discovery/struct.Lagged.html
+++ b/pr/3262/docs/iroh/discovery/struct.Lagged.html
@@ -1,11 +1,14 @@
-pub struct Lagged(pub u64);Error returned when a discovery watch stream lagged too far behind.
+pub struct Lagged(pub u64);Error returned when a discovery watch stream lagged too far behind.
The stream returned from Endpoint::discovery_stream yields this error
if the loop in which the stream is processed cannot keep up with the emitted
discovery events. Attempting to read the next item from the channel afterwards
will return the oldest DiscoveryItem that is still retained.
Includes the number of skipped messages.
0: u64Returns the argument unchanged.
+ T: ?Sized,pub struct NodeData { /* private fields */ }Data about a node that may be published to and resolved from discovery services.
+pub struct NodeData { /* private fields */ }Data about a node that may be published to and resolved from discovery services.
This includes an optional RelayUrl, a set of direct addresses, and the optional
UserData, a string that can be set by applications and is not parsed or used by iroh
itself.
key and return true if they are equal.pub struct NodeInfo {
+NodeInfo in iroh::discovery - Rust key and return true if they are equal.pub struct UserData(/* private fields */);Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.
pub struct UserData(/* private fields */);Under the hood this is a UTF-8 String is no longer than UserData::MAX_LENGTH bytes.
Iroh does not keep track of or examine the user-defined data.
UserData implements FromStr and TryFrom<String>, so you can
convert &str and String into UserData easily.
>= operator. Sized,key and return true if they are equal.The crate::endpoint::Endpoint will subscribe to the discovery system
and add the discovered addresses to the internal address book as they arrive
on this stream.
wasm_browser only.discovery-local-network only.discovery-pkarr-dht only.wasm_browser only.discovery-local-network only.discovery-pkarr-dht only.pub struct DnsResolver(/* private fields */);wasm_browser only.The DNS resolver used throughout iroh.
pub struct DnsResolver(/* private fields */);wasm_browser only.The DNS resolver used throughout iroh.
Create a new DNS resolver with sensible cross-platform defaults.
We first try to read the system’s resolver from /etc/resolv.conf.
This does not work at least on some Androids, therefore we fallback
@@ -108,7 +108,7 @@ summary of all errors otherwise.
Span], returning an
diff --git a/pr/3262/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html b/pr/3262/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html
index 713ae42430..e2cda32b11 100644
--- a/pr/3262/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html
+++ b/pr/3262/docs/iroh/endpoint/constant.ENV_FORCE_STAGING_RELAYS.html
@@ -1,2 +1,2 @@
-pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS";Environment variable to force the use of staging relays.
+pub enum ConnectionError {
+ConnectionError in iroh::endpoint - Rust Enum ConnectionError
pub enum ConnectionError {
VersionMismatch,
TransportError(Error),
ConnectionClosed(ConnectionClose),
@@ -22,7 +22,10 @@ and 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)>
Returns 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
§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<T> AsErrorSource for Twhere
+ T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
+to benefit from Rust’s automatic dereferencing of method
+receivers.§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.ConnectionType.html b/pr/3262/docs/iroh/endpoint/enum.ConnectionType.html
index 68944408fd..f6fbadf4ec 100644
--- a/pr/3262/docs/iroh/endpoint/enum.ConnectionType.html
+++ b/pr/3262/docs/iroh/endpoint/enum.ConnectionType.html
@@ -1,4 +1,4 @@
-ConnectionType in iroh::endpoint - Rust pub enum ConnectionType {
+ConnectionType in iroh::endpoint - Rust pub enum ConnectionType {
Direct(SocketAddr),
Relay(RelayUrl),
Mixed(SocketAddr, RelayUrl),
@@ -24,7 +24,7 @@ and should not be overridden without very good reason.
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.ControlMsg.html b/pr/3262/docs/iroh/endpoint/enum.ControlMsg.html
index 4c2e9fb5aa..47c5b5ce1a 100644
--- a/pr/3262/docs/iroh/endpoint/enum.ControlMsg.html
+++ b/pr/3262/docs/iroh/endpoint/enum.ControlMsg.html
@@ -1,4 +1,4 @@
-ControlMsg in iroh::endpoint - Rust
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.DirectAddrType.html b/pr/3262/docs/iroh/endpoint/enum.DirectAddrType.html
index 9349054700..3ac8ac2fc6 100644
--- a/pr/3262/docs/iroh/endpoint/enum.DirectAddrType.html
+++ b/pr/3262/docs/iroh/endpoint/enum.DirectAddrType.html
@@ -1,4 +1,4 @@
-DirectAddrType in iroh::endpoint - Rust pub enum DirectAddrType {
+DirectAddrType in iroh::endpoint - Rust
Source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moreSource§impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.PathSelection.html b/pr/3262/docs/iroh/endpoint/enum.PathSelection.html
index ea3ac22aa8..1c2dc5b752 100644
--- a/pr/3262/docs/iroh/endpoint/enum.PathSelection.html
+++ b/pr/3262/docs/iroh/endpoint/enum.PathSelection.html
@@ -1,4 +1,4 @@
-PathSelection in iroh::endpoint - Rust pub enum PathSelection {
+PathSelection in iroh::endpoint - Rust pub enum PathSelection {
All,
RelayOnly,
}
Available on crate feature test-utils only.Expand description
Defines the mode of path selection for all traffic flowing through
@@ -17,7 +17,7 @@ and should not be overridden without very good reason.
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.ReadError.html b/pr/3262/docs/iroh/endpoint/enum.ReadError.html
index ade278f324..a5d86df113 100644
--- a/pr/3262/docs/iroh/endpoint/enum.ReadError.html
+++ b/pr/3262/docs/iroh/endpoint/enum.ReadError.html
@@ -1,4 +1,4 @@
-ReadError in iroh::endpoint - Rust Enum ReadError
pub enum ReadError {
+ReadError in iroh::endpoint - Rust Enum ReadError
pub enum ReadError {
Reset(VarInt),
ConnectionLost(ConnectionError),
ClosedStream,
@@ -17,7 +17,10 @@ stream which cannot be recovered, making further ordered reads impossible.
Connecting::into_0rtt().
Trait Implementations§
§impl Error for ReadError
§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<T> AsErrorSource for Twhere
+ T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
+to benefit from Rust’s automatic dereferencing of method
+receivers.§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.ReadExactError.html b/pr/3262/docs/iroh/endpoint/enum.ReadExactError.html
index 36873ba9e2..a827b16d2f 100644
--- a/pr/3262/docs/iroh/endpoint/enum.ReadExactError.html
+++ b/pr/3262/docs/iroh/endpoint/enum.ReadExactError.html
@@ -1,4 +1,4 @@
-ReadExactError in iroh::endpoint - Rust Enum ReadExactError
pub enum ReadExactError {
+ReadExactError in iroh::endpoint - Rust Trait Implementations§
§impl Clone for ReadExactError
§fn clone(&self) -> ReadExactError
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 ReadExactError
§impl Display for ReadExactError
§impl Error for ReadExactError
§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ReadError> for ReadExactError
§fn from(source: ReadError) -> ReadExactError
Converts to this type from the input type.§impl PartialEq for ReadExactError
§impl Eq for ReadExactError
§impl StructuralPartialEq for ReadExactError
Auto Trait Implementations§
§impl !Freeze for ReadExactError
§impl RefUnwindSafe for ReadExactError
§impl Send for ReadExactError
§impl Sync for ReadExactError
§impl Unpin for ReadExactError
§impl UnwindSafe for ReadExactError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
+ T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
+to benefit from Rust’s automatic dereferencing of method
+receivers.§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.ReadToEndError.html b/pr/3262/docs/iroh/endpoint/enum.ReadToEndError.html
index 2db21e64ef..e81900b988 100644
--- a/pr/3262/docs/iroh/endpoint/enum.ReadToEndError.html
+++ b/pr/3262/docs/iroh/endpoint/enum.ReadToEndError.html
@@ -1,4 +1,4 @@
-ReadToEndError in iroh::endpoint - Rust Enum ReadToEndError
pub enum ReadToEndError {
+ReadToEndError in iroh::endpoint - Rust Enum ReadToEndError
pub enum ReadToEndError {
Read(ReadError),
TooLong,
}
Expand description
Errors from RecvStream::read_to_end
@@ -6,7 +6,10 @@
§TooLong
The stream is larger than the user-supplied limit
Trait Implementations§
§impl Clone for ReadToEndError
§fn clone(&self) -> ReadToEndError
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 ReadToEndError
§impl Display for ReadToEndError
§impl Error for ReadToEndError
§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<ReadError> for ReadToEndError
§fn from(source: ReadError) -> ReadToEndError
Converts to this type from the input type.§impl PartialEq for ReadToEndError
§impl Eq for ReadToEndError
§impl StructuralPartialEq for ReadToEndError
Auto Trait Implementations§
§impl !Freeze for ReadToEndError
§impl RefUnwindSafe for ReadToEndError
§impl Send for ReadToEndError
§impl Sync for ReadToEndError
§impl Unpin for ReadToEndError
§impl UnwindSafe for ReadToEndError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
+ T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
+to benefit from Rust’s automatic dereferencing of method
+receivers.§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.RelayMode.html b/pr/3262/docs/iroh/endpoint/enum.RelayMode.html
index 80f4a46fa5..e712194f70 100644
--- a/pr/3262/docs/iroh/endpoint/enum.RelayMode.html
+++ b/pr/3262/docs/iroh/endpoint/enum.RelayMode.html
@@ -1,4 +1,4 @@
-RelayMode in iroh::endpoint - Rust pub enum RelayMode {
+RelayMode in iroh::endpoint - Rust pub enum RelayMode {
Disabled,
Default,
Staging,
@@ -9,9 +9,9 @@
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 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§
Implementations§
Trait 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§
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.ResetError.html b/pr/3262/docs/iroh/endpoint/enum.ResetError.html
index 9bd04777b7..29fdae5a21 100644
--- a/pr/3262/docs/iroh/endpoint/enum.ResetError.html
+++ b/pr/3262/docs/iroh/endpoint/enum.ResetError.html
@@ -1,4 +1,4 @@
-ResetError in iroh::endpoint - Rust Enum ResetError
pub enum ResetError {
+ResetError in iroh::endpoint - Rust Enum ResetError
pub enum ResetError {
ConnectionLost(ConnectionError),
ZeroRttRejected,
}
Expand description
Errors that arise while waiting for a stream to be reset
@@ -8,7 +8,10 @@
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)>
Returns 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
§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<T> AsErrorSource for Twhere
+ T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
+to benefit from Rust’s automatic dereferencing of method
+receivers.§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.SendDatagramError.html b/pr/3262/docs/iroh/endpoint/enum.SendDatagramError.html
index 55428156ec..8471d202b6 100644
--- a/pr/3262/docs/iroh/endpoint/enum.SendDatagramError.html
+++ b/pr/3262/docs/iroh/endpoint/enum.SendDatagramError.html
@@ -1,4 +1,4 @@
-SendDatagramError in iroh::endpoint - Rust Enum SendDatagramError
pub enum SendDatagramError {
+SendDatagramError in iroh::endpoint - Rust Enum SendDatagramError
pub enum SendDatagramError {
UnsupportedByPeer,
Disabled,
TooLarge,
@@ -12,7 +12,10 @@ exceeded.
§ConnectionLost(ConnectionError)
The connection was lost
Trait Implementations§
§impl Clone for SendDatagramError
§fn clone(&self) -> SendDatagramError
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 SendDatagramError
§impl Display for SendDatagramError
§impl Error for SendDatagramError
§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 SendDatagramError
§fn from(source: ConnectionError) -> SendDatagramError
Converts to this type from the input type.§impl PartialEq for SendDatagramError
§impl Eq for SendDatagramError
§impl StructuralPartialEq for SendDatagramError
Auto Trait Implementations§
§impl !Freeze for SendDatagramError
§impl RefUnwindSafe for SendDatagramError
§impl Send for SendDatagramError
§impl Sync for SendDatagramError
§impl Unpin for SendDatagramError
§impl UnwindSafe for SendDatagramError
Blanket Implementations§
§impl<T> AsErrorSource for Twhere
+ T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
+to benefit from Rust’s automatic dereferencing of method
+receivers.§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.Source.html b/pr/3262/docs/iroh/endpoint/enum.Source.html
index d8fac9e6c4..0facaec339 100644
--- a/pr/3262/docs/iroh/endpoint/enum.Source.html
+++ b/pr/3262/docs/iroh/endpoint/enum.Source.html
@@ -1,4 +1,4 @@
-Source in iroh::endpoint - Rust
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.StoppedError.html b/pr/3262/docs/iroh/endpoint/enum.StoppedError.html
index 220f8066e8..d890586ed9 100644
--- a/pr/3262/docs/iroh/endpoint/enum.StoppedError.html
+++ b/pr/3262/docs/iroh/endpoint/enum.StoppedError.html
@@ -1,4 +1,4 @@
-StoppedError in iroh::endpoint - Rust Enum StoppedError
pub enum StoppedError {
+StoppedError in iroh::endpoint - Rust Enum StoppedError
pub enum StoppedError {
ConnectionLost(ConnectionError),
ZeroRttRejected,
}
Expand description
Errors that arise while monitoring for a send stream stop from the peer
@@ -8,7 +8,10 @@
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)>
Returns 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
§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<T> AsErrorSource for Twhere
+ T: Error + 'static,
§fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
+to benefit from Rust’s automatic dereferencing of method
+receivers.§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
- T: Clone,
§impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/pr/3262/docs/iroh/endpoint/enum.WriteError.html b/pr/3262/docs/iroh/endpoint/enum.WriteError.html
index 355c09c701..5b365cb824 100644
--- a/pr/3262/docs/iroh/endpoint/enum.WriteError.html
+++ b/pr/3262/docs/iroh/endpoint/enum.WriteError.html
@@ -1,4 +1,4 @@
-WriteError in iroh::endpoint - Rust Enum WriteError
pub enum WriteError {
+WriteError in iroh::endpoint - Rust