From 7668ab7ab5482bc38ebbe04b9e799408bf89bfbb Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Fri, 29 Nov 2024 10:26:12 +0000 Subject: [PATCH] deploy: e76e6d8bf84028c3a13d7458e9c724c786ca6578 --- pr/2978/docs/iroh/dialer/struct.Dialer.html | 4 +- .../discovery/dns/struct.DnsDiscovery.html | 4 +- .../struct.LocalSwarmDiscovery.html | 4 +- .../discovery/pkarr/dht/struct.Builder.html | 4 +- .../pkarr/dht/struct.DhtDiscovery.html | 4 +- .../pkarr/struct.PkarrPublisher.html | 4 +- .../pkarr/struct.PkarrRelayClient.html | 4 +- .../discovery/pkarr/struct.PkarrResolver.html | 4 +- .../struct.StaticProvider.html | 4 +- .../discovery/struct.ConcurrentDiscovery.html | 4 +- .../iroh/discovery/struct.DiscoveryItem.html | 4 +- .../iroh/dns/node_info/enum.IrohAttr.html | 4 +- .../iroh/dns/node_info/struct.NodeInfo.html | 4 +- .../iroh/dns/node_info/struct.TxtAttrs.html | 4 +- .../iroh/endpoint/enum.AddrInfoOptions.html | 4 +- .../iroh/endpoint/enum.ConnectionError.html | 4 +- .../iroh/endpoint/enum.ConnectionType.html | 4 +- .../docs/iroh/endpoint/enum.ControlMsg.html | 4 +- .../iroh/endpoint/enum.DirectAddrType.html | 4 +- .../docs/iroh/endpoint/enum.ReadError.html | 4 +- .../iroh/endpoint/enum.ReadExactError.html | 4 +- .../iroh/endpoint/enum.ReadToEndError.html | 4 +- .../docs/iroh/endpoint/enum.RelayMode.html | 4 +- .../docs/iroh/endpoint/enum.ResetError.html | 4 +- .../iroh/endpoint/enum.SendDatagramError.html | 4 +- pr/2978/docs/iroh/endpoint/enum.Source.html | 4 +- .../docs/iroh/endpoint/enum.StoppedError.html | 4 +- .../docs/iroh/endpoint/enum.WriteError.html | 4 +- pr/2978/docs/iroh/endpoint/struct.Accept.html | 4 +- .../docs/iroh/endpoint/struct.AcceptBi.html | 4 +- .../docs/iroh/endpoint/struct.AcceptUni.html | 4 +- .../endpoint/struct.AckFrequencyConfig.html | 4 +- .../docs/iroh/endpoint/struct.AddrInfo.html | 4 +- .../endpoint/struct.ApplicationClose.html | 4 +- .../docs/iroh/endpoint/struct.Builder.html | 4 +- pr/2978/docs/iroh/endpoint/struct.Bytes.html | 4 +- pr/2978/docs/iroh/endpoint/struct.Chunk.html | 4 +- .../iroh/endpoint/struct.ClosedStream.html | 4 +- .../docs/iroh/endpoint/struct.Connecting.html | 4 +- .../docs/iroh/endpoint/struct.Connection.html | 4 +- .../iroh/endpoint/struct.ConnectionClose.html | 4 +- .../iroh/endpoint/struct.ConnectionStats.html | 4 +- .../endpoint/struct.ConnectionTypeStream.html | 4 +- .../iroh/endpoint/struct.CryptoError.html | 4 +- .../docs/iroh/endpoint/struct.DirectAddr.html | 4 +- .../iroh/endpoint/struct.DirectAddrInfo.html | 4 +- .../endpoint/struct.DirectAddrsStream.html | 4 +- .../docs/iroh/endpoint/struct.Endpoint.html | 4 +- .../struct.ExportKeyingMaterialError.html | 4 +- .../docs/iroh/endpoint/struct.FrameStats.html | 4 +- .../docs/iroh/endpoint/struct.Incoming.html | 4 +- .../iroh/endpoint/struct.IncomingFuture.html | 4 +- .../endpoint/struct.MtuDiscoveryConfig.html | 4 +- .../docs/iroh/endpoint/struct.NodeAddr.html | 4 +- pr/2978/docs/iroh/endpoint/struct.OpenBi.html | 4 +- .../docs/iroh/endpoint/struct.OpenUni.html | 4 +- .../docs/iroh/endpoint/struct.PathStats.html | 4 +- .../iroh/endpoint/struct.ReadDatagram.html | 4 +- .../docs/iroh/endpoint/struct.RecvStream.html | 4 +- .../docs/iroh/endpoint/struct.RemoteInfo.html | 4 +- .../docs/iroh/endpoint/struct.RetryError.html | 4 +- .../docs/iroh/endpoint/struct.SendStream.html | 4 +- .../iroh/endpoint/struct.ServerConfig.html | 4 +- .../docs/iroh/endpoint/struct.StreamId.html | 4 +- .../iroh/endpoint/struct.TransportConfig.html | 4 +- .../iroh/endpoint/struct.TransportError.html | 4 +- .../endpoint/struct.TransportErrorCode.html | 4 +- .../docs/iroh/endpoint/struct.UdpStats.html | 4 +- .../endpoint/struct.UnsupportedVersion.html | 4 +- pr/2978/docs/iroh/endpoint/struct.VarInt.html | 4 +- .../endpoint/struct.WeakConnectionHandle.html | 4 +- .../docs/iroh/endpoint/struct.Written.html | 4 +- .../iroh/endpoint/struct.ZeroRttAccepted.html | 4 +- pr/2978/docs/iroh/enum.AddrInfoOptions.html | 4 +- pr/2978/docs/iroh/hash/enum.BlobFormat.html | 4 +- pr/2978/docs/iroh/hash/struct.Hash.html | 4 +- .../docs/iroh/hash/struct.HashAndFormat.html | 4 +- .../docs/iroh/key/enum.KeyParsingError.html | 4 +- pr/2978/docs/iroh/key/struct.PublicKey.html | 4 +- pr/2978/docs/iroh/key/struct.SecretKey.html | 4 +- .../docs/iroh/key/struct.SharedSecret.html | 4 +- pr/2978/docs/iroh/key/struct.Signature.html | 4 +- .../iroh/metrics/struct.MagicsockMetrics.html | 4 +- .../iroh/metrics/struct.NetReportMetrics.html | 4 +- .../iroh/metrics/struct.PortmapMetrics.html | 8 ++-- .../iroh/metrics/struct.RelayMetrics.html | 4 +- pr/2978/docs/iroh/protocol/index.html | 2 +- .../iroh/protocol/struct.ProtocolMap.html | 18 ++++----- pr/2978/docs/iroh/protocol/struct.Router.html | 18 ++++----- .../iroh/protocol/struct.RouterBuilder.html | 18 ++++----- .../docs/iroh/protocol/trait.IntoArcAny.html | 6 +-- .../iroh/protocol/trait.ProtocolHandler.html | 6 +-- pr/2978/docs/iroh/struct.AddrInfo.html | 4 +- pr/2978/docs/iroh/struct.NodeAddr.html | 4 +- pr/2978/docs/iroh/struct.RelayMap.html | 4 +- pr/2978/docs/iroh/struct.RelayNode.html | 4 +- pr/2978/docs/iroh/struct.RelayUrl.html | 4 +- .../test_utils/struct.CleanupDropGuard.html | 4 +- .../test_utils/struct.DnsPkarrServer.html | 4 +- pr/2978/docs/iroh/ticket/enum.Error.html | 4 +- .../docs/iroh/ticket/struct.BlobTicket.html | 4 +- .../docs/iroh/ticket/struct.NodeTicket.html | 4 +- .../iroh/tls/certificate/struct.GenError.html | 4 +- .../certificate/struct.P2pCertificate.html | 4 +- .../tls/certificate/struct.P2pExtension.html | 4 +- .../tls/certificate/struct.ParseError.html | 4 +- .../certificate/struct.VerificationError.html | 4 +- .../docs/iroh/tls/enum.CreateConfigError.html | 4 +- .../cli/net/enum.NetCommands.html | 4 +- .../cli/node/enum.NodeCommands.html | 4 +- .../iroh_node_util/logging/enum.Rotation.html | 4 +- .../logging/struct.EnvFilter.html | 4 +- .../logging/struct.FileLogging.html | 4 +- .../rpc/client/net/struct.Client.html | 20 +++++----- .../rpc/client/net/struct.NodeStatus.html | 4 +- .../rpc/client/node/struct.Client.html | 4 +- .../rpc/proto/enum.Request.html | 4 +- .../rpc/proto/enum.Response.html | 4 +- .../rpc/proto/net/enum.Request.html | 4 +- .../rpc/proto/net/enum.Response.html | 4 +- .../rpc/proto/net/struct.AddAddrRequest.html | 4 +- .../rpc/proto/net/struct.AddrRequest.html | 4 +- .../rpc/proto/net/struct.IdRequest.html | 4 +- .../proto/net/struct.NodeWatchRequest.html | 4 +- .../rpc/proto/net/struct.RelayRequest.html | 4 +- .../proto/net/struct.RemoteInfoRequest.html | 4 +- .../proto/net/struct.RemoteInfoResponse.html | 8 ++-- .../net/struct.RemoteInfosIterRequest.html | 4 +- .../net/struct.RemoteInfosIterResponse.html | 8 ++-- .../rpc/proto/net/struct.WatchResponse.html | 4 +- .../rpc/proto/node/enum.Request.html | 4 +- .../rpc/proto/node/enum.Response.html | 4 +- .../rpc/proto/node/struct.CounterStats.html | 4 +- .../proto/node/struct.ShutdownRequest.html | 4 +- .../rpc/proto/node/struct.StatsRequest.html | 4 +- .../rpc/proto/node/struct.StatsResponse.html | 4 +- .../rpc/proto/node/struct.StatusRequest.html | 4 +- .../rpc/proto/struct.RpcService.html | 4 +- .../rpc/server/trait.AbstractNode.html | 4 +- pr/2978/docs/src/iroh/protocol.rs.html | 38 ++++--------------- 140 files changed, 322 insertions(+), 344 deletions(-) diff --git a/pr/2978/docs/iroh/dialer/struct.Dialer.html b/pr/2978/docs/iroh/dialer/struct.Dialer.html index a58df54422..4f2ece7a39 100644 --- a/pr/2978/docs/iroh/dialer/struct.Dialer.html +++ b/pr/2978/docs/iroh/dialer/struct.Dialer.html @@ -48,8 +48,8 @@ available. Read more
From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<S> IntoStream for S
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<S> IntoStream for S
where S: Stream,

§

type Item = <S as Stream>::Item

The type of the elements being iterated over.
§

type IntoStream = S

Which kind of stream are we turning this into?
§

fn into_stream(self) -> S

Creates a stream from a value.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<S> StreamExt for S
where S: Stream + ?Sized,

§

fn poll_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>
where Self: Unpin,

A convenience for calling [Stream::poll_next()] on !Unpin types.
§

fn next(&mut self) -> NextFuture<'_, Self>
where diff --git a/pr/2978/docs/iroh/discovery/dns/struct.DnsDiscovery.html b/pr/2978/docs/iroh/discovery/dns/struct.DnsDiscovery.html index 23328a8e75..f4a3f95002 100644 --- a/pr/2978/docs/iroh/discovery/dns/struct.DnsDiscovery.html +++ b/pr/2978/docs/iroh/discovery/dns/struct.DnsDiscovery.html @@ -43,8 +43,8 @@ service for testing purposes.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html b/pr/2978/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html index 2a734f43df..a12f07261c 100644 --- a/pr/2978/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html +++ b/pr/2978/docs/iroh/discovery/local_swarm_discovery/struct.LocalSwarmDiscovery.html @@ -26,8 +26,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/discovery/pkarr/dht/struct.Builder.html b/pr/2978/docs/iroh/discovery/pkarr/dht/struct.Builder.html index 007c830d56..356ef54865 100644 --- a/pr/2978/docs/iroh/discovery/pkarr/dht/struct.Builder.html +++ b/pr/2978/docs/iroh/discovery/pkarr/dht/struct.Builder.html @@ -28,8 +28,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html b/pr/2978/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html index 68fca37197..c6749a968a 100644 --- a/pr/2978/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html +++ b/pr/2978/docs/iroh/discovery/pkarr/dht/struct.DhtDiscovery.html @@ -28,8 +28,8 @@ a background task that periodically publishes the node address.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html b/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html index b82ea94fe6..87e627fa6a 100644 --- a/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html +++ b/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrPublisher.html @@ -51,8 +51,8 @@ server is used instead.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html b/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html index 272dad7b75..19a7e29774 100644 --- a/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html +++ b/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrRelayClient.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrResolver.html b/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrResolver.html index 8a144a8a2d..91529a0a80 100644 --- a/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrResolver.html +++ b/pr/2978/docs/iroh/discovery/pkarr/struct.PkarrResolver.html @@ -34,8 +34,8 @@ server is used instead.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/discovery/static_provider/struct.StaticProvider.html b/pr/2978/docs/iroh/discovery/static_provider/struct.StaticProvider.html index 339648be16..02c7f909d7 100644 --- a/pr/2978/docs/iroh/discovery/static_provider/struct.StaticProvider.html +++ b/pr/2978/docs/iroh/discovery/static_provider/struct.StaticProvider.html @@ -46,8 +46,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/discovery/struct.ConcurrentDiscovery.html b/pr/2978/docs/iroh/discovery/struct.ConcurrentDiscovery.html index 141e8d062d..a04e2a5b61 100644 --- a/pr/2978/docs/iroh/discovery/struct.ConcurrentDiscovery.html +++ b/pr/2978/docs/iroh/discovery/struct.ConcurrentDiscovery.html @@ -25,8 +25,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/discovery/struct.DiscoveryItem.html b/pr/2978/docs/iroh/discovery/struct.DiscoveryItem.html index 4f21591347..d956739fe9 100644 --- a/pr/2978/docs/iroh/discovery/struct.DiscoveryItem.html +++ b/pr/2978/docs/iroh/discovery/struct.DiscoveryItem.html @@ -29,8 +29,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/dns/node_info/enum.IrohAttr.html b/pr/2978/docs/iroh/dns/node_info/enum.IrohAttr.html index 7c2a712d85..69ce7003e7 100644 --- a/pr/2978/docs/iroh/dns/node_info/enum.IrohAttr.html +++ b/pr/2978/docs/iroh/dns/node_info/enum.IrohAttr.html @@ -37,8 +37,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/dns/node_info/struct.NodeInfo.html b/pr/2978/docs/iroh/dns/node_info/struct.NodeInfo.html index bef1f21a00..1eef21e8f5 100644 --- a/pr/2978/docs/iroh/dns/node_info/struct.NodeInfo.html +++ b/pr/2978/docs/iroh/dns/node_info/struct.NodeInfo.html @@ -49,8 +49,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/dns/node_info/struct.TxtAttrs.html b/pr/2978/docs/iroh/dns/node_info/struct.TxtAttrs.html index 1712866fc7..99691ba327 100644 --- a/pr/2978/docs/iroh/dns/node_info/struct.TxtAttrs.html +++ b/pr/2978/docs/iroh/dns/node_info/struct.TxtAttrs.html @@ -55,8 +55,8 @@ all attributes. Can also be used with an enum, if it implements From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/enum.AddrInfoOptions.html b/pr/2978/docs/iroh/endpoint/enum.AddrInfoOptions.html index 4eb461e308..212f7140a7 100644 --- a/pr/2978/docs/iroh/endpoint/enum.AddrInfoOptions.html +++ b/pr/2978/docs/iroh/endpoint/enum.AddrInfoOptions.html @@ -43,8 +43,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.ConnectionError.html b/pr/2978/docs/iroh/endpoint/enum.ConnectionError.html index ff78bded67..2cd264e31f 100644 --- a/pr/2978/docs/iroh/endpoint/enum.ConnectionError.html +++ b/pr/2978/docs/iroh/endpoint/enum.ConnectionError.html @@ -45,8 +45,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.ConnectionType.html b/pr/2978/docs/iroh/endpoint/enum.ConnectionType.html index 9624c5b3c8..62fa6dc269 100644 --- a/pr/2978/docs/iroh/endpoint/enum.ConnectionType.html +++ b/pr/2978/docs/iroh/endpoint/enum.ConnectionType.html @@ -37,8 +37,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.ControlMsg.html b/pr/2978/docs/iroh/endpoint/enum.ControlMsg.html index 06ba0ead4e..72d7bba346 100644 --- a/pr/2978/docs/iroh/endpoint/enum.ControlMsg.html +++ b/pr/2978/docs/iroh/endpoint/enum.ControlMsg.html @@ -33,8 +33,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.DirectAddrType.html b/pr/2978/docs/iroh/endpoint/enum.DirectAddrType.html index 5de2eead6a..3a529ea639 100644 --- a/pr/2978/docs/iroh/endpoint/enum.DirectAddrType.html +++ b/pr/2978/docs/iroh/endpoint/enum.DirectAddrType.html @@ -54,8 +54,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.ReadError.html b/pr/2978/docs/iroh/endpoint/enum.ReadError.html index 2f69bb3bb7..ba08cc9103 100644 --- a/pr/2978/docs/iroh/endpoint/enum.ReadError.html +++ b/pr/2978/docs/iroh/endpoint/enum.ReadError.html @@ -40,8 +40,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.ReadExactError.html b/pr/2978/docs/iroh/endpoint/enum.ReadExactError.html index 5ea57ae4b9..84dc959669 100644 --- a/pr/2978/docs/iroh/endpoint/enum.ReadExactError.html +++ b/pr/2978/docs/iroh/endpoint/enum.ReadExactError.html @@ -29,8 +29,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.ReadToEndError.html b/pr/2978/docs/iroh/endpoint/enum.ReadToEndError.html index 6d1a1b0321..ae1cca8c38 100644 --- a/pr/2978/docs/iroh/endpoint/enum.ReadToEndError.html +++ b/pr/2978/docs/iroh/endpoint/enum.ReadToEndError.html @@ -29,8 +29,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.RelayMode.html b/pr/2978/docs/iroh/endpoint/enum.RelayMode.html index d1392c8954..6c5f429182 100644 --- a/pr/2978/docs/iroh/endpoint/enum.RelayMode.html +++ b/pr/2978/docs/iroh/endpoint/enum.RelayMode.html @@ -35,8 +35,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.ResetError.html b/pr/2978/docs/iroh/endpoint/enum.ResetError.html index c0d8dcb7a1..0e975d4b3a 100644 --- a/pr/2978/docs/iroh/endpoint/enum.ResetError.html +++ b/pr/2978/docs/iroh/endpoint/enum.ResetError.html @@ -31,8 +31,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.SendDatagramError.html b/pr/2978/docs/iroh/endpoint/enum.SendDatagramError.html index a69d028bb1..9caf659588 100644 --- a/pr/2978/docs/iroh/endpoint/enum.SendDatagramError.html +++ b/pr/2978/docs/iroh/endpoint/enum.SendDatagramError.html @@ -35,8 +35,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.Source.html b/pr/2978/docs/iroh/endpoint/enum.Source.html index 1392bfda4f..7410857bc5 100644 --- a/pr/2978/docs/iroh/endpoint/enum.Source.html +++ b/pr/2978/docs/iroh/endpoint/enum.Source.html @@ -59,8 +59,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.StoppedError.html b/pr/2978/docs/iroh/endpoint/enum.StoppedError.html index bccd697259..73431861a8 100644 --- a/pr/2978/docs/iroh/endpoint/enum.StoppedError.html +++ b/pr/2978/docs/iroh/endpoint/enum.StoppedError.html @@ -31,8 +31,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/enum.WriteError.html b/pr/2978/docs/iroh/endpoint/enum.WriteError.html index 73ff4fe01d..00ec30f45e 100644 --- a/pr/2978/docs/iroh/endpoint/enum.WriteError.html +++ b/pr/2978/docs/iroh/endpoint/enum.WriteError.html @@ -36,8 +36,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.Accept.html b/pr/2978/docs/iroh/endpoint/struct.Accept.html index 0292d1289f..5aa7a085ad 100644 --- a/pr/2978/docs/iroh/endpoint/struct.Accept.html +++ b/pr/2978/docs/iroh/endpoint/struct.Accept.html @@ -90,8 +90,8 @@ the future is ready after the first call to Future::poll. Read m U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.AcceptBi.html b/pr/2978/docs/iroh/endpoint/struct.AcceptBi.html index a2b001f87a..18b062c61f 100644 --- a/pr/2978/docs/iroh/endpoint/struct.AcceptBi.html +++ b/pr/2978/docs/iroh/endpoint/struct.AcceptBi.html @@ -93,8 +93,8 @@ the future is ready after the first call to Future::poll. Read m U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( diff --git a/pr/2978/docs/iroh/endpoint/struct.AcceptUni.html b/pr/2978/docs/iroh/endpoint/struct.AcceptUni.html index c783ad4e79..feb5b34fdc 100644 --- a/pr/2978/docs/iroh/endpoint/struct.AcceptUni.html +++ b/pr/2978/docs/iroh/endpoint/struct.AcceptUni.html @@ -93,8 +93,8 @@ the future is ready after the first call to Future::poll. Read m U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( diff --git a/pr/2978/docs/iroh/endpoint/struct.AckFrequencyConfig.html b/pr/2978/docs/iroh/endpoint/struct.AckFrequencyConfig.html index b97554ecc0..6c5e3d94f5 100644 --- a/pr/2978/docs/iroh/endpoint/struct.AckFrequencyConfig.html +++ b/pr/2978/docs/iroh/endpoint/struct.AckFrequencyConfig.html @@ -56,8 +56,8 @@ to 2.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.AddrInfo.html b/pr/2978/docs/iroh/endpoint/struct.AddrInfo.html index 26e95d3a7e..471a8873c7 100644 --- a/pr/2978/docs/iroh/endpoint/struct.AddrInfo.html +++ b/pr/2978/docs/iroh/endpoint/struct.AddrInfo.html @@ -51,8 +51,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.ApplicationClose.html b/pr/2978/docs/iroh/endpoint/struct.ApplicationClose.html index e36d61eaf0..9af9e1ba61 100644 --- a/pr/2978/docs/iroh/endpoint/struct.ApplicationClose.html +++ b/pr/2978/docs/iroh/endpoint/struct.ApplicationClose.html @@ -29,8 +29,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.Builder.html b/pr/2978/docs/iroh/endpoint/struct.Builder.html index 9fbcb05dc3..f388bbc534 100644 --- a/pr/2978/docs/iroh/endpoint/struct.Builder.html +++ b/pr/2978/docs/iroh/endpoint/struct.Builder.html @@ -111,8 +111,8 @@ filename will result in this file being used to log the TLS pre-master keys.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.Bytes.html b/pr/2978/docs/iroh/endpoint/struct.Bytes.html index 46dc0bc056..0adbf637e5 100644 --- a/pr/2978/docs/iroh/endpoint/struct.Bytes.html +++ b/pr/2978/docs/iroh/endpoint/struct.Bytes.html @@ -1436,8 +1436,8 @@ about the incoming connection and has no state. Read more

U: From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToHex for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToHex for T
where T: AsRef<[u8]>,

source§

fn encode_hex<U>(&self) -> U
where U: FromIterator<char>,

Encode the hex strict representing self into the result. Lower case letters are used (e.g. f9b4ca)
source§

fn encode_hex_upper<U>(&self) -> U
where diff --git a/pr/2978/docs/iroh/endpoint/struct.Chunk.html b/pr/2978/docs/iroh/endpoint/struct.Chunk.html index 830102a728..e2145753c4 100644 --- a/pr/2978/docs/iroh/endpoint/struct.Chunk.html +++ b/pr/2978/docs/iroh/endpoint/struct.Chunk.html @@ -27,8 +27,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.ClosedStream.html b/pr/2978/docs/iroh/endpoint/struct.ClosedStream.html index 2654bd863e..e6f88066f8 100644 --- a/pr/2978/docs/iroh/endpoint/struct.ClosedStream.html +++ b/pr/2978/docs/iroh/endpoint/struct.ClosedStream.html @@ -24,8 +24,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.Connecting.html b/pr/2978/docs/iroh/endpoint/struct.Connecting.html index 0bd4b81b2d..ffbbb84948 100644 --- a/pr/2978/docs/iroh/endpoint/struct.Connecting.html +++ b/pr/2978/docs/iroh/endpoint/struct.Connecting.html @@ -95,8 +95,8 @@ the future is ready after the first call to Future::poll. Read m U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( diff --git a/pr/2978/docs/iroh/endpoint/struct.Connection.html b/pr/2978/docs/iroh/endpoint/struct.Connection.html index 9c9cfd73fc..6ca37193f2 100644 --- a/pr/2978/docs/iroh/endpoint/struct.Connection.html +++ b/pr/2978/docs/iroh/endpoint/struct.Connection.html @@ -130,8 +130,8 @@ strong and pseudorandom, and are suitable for use as keying material.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.ConnectionClose.html b/pr/2978/docs/iroh/endpoint/struct.ConnectionClose.html index 15341f3f8c..77901d8b56 100644 --- a/pr/2978/docs/iroh/endpoint/struct.ConnectionClose.html +++ b/pr/2978/docs/iroh/endpoint/struct.ConnectionClose.html @@ -31,8 +31,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.ConnectionStats.html b/pr/2978/docs/iroh/endpoint/struct.ConnectionStats.html index 384d842afe..ca5015db47 100644 --- a/pr/2978/docs/iroh/endpoint/struct.ConnectionStats.html +++ b/pr/2978/docs/iroh/endpoint/struct.ConnectionStats.html @@ -29,8 +29,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.ConnectionTypeStream.html b/pr/2978/docs/iroh/endpoint/struct.ConnectionTypeStream.html index 9e221bf9bc..98b8c5e789 100644 --- a/pr/2978/docs/iroh/endpoint/struct.ConnectionTypeStream.html +++ b/pr/2978/docs/iroh/endpoint/struct.ConnectionTypeStream.html @@ -35,8 +35,8 @@ available. Read more

From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<S> IntoStream for S
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<S> IntoStream for S
where S: Stream,

§

type Item = <S as Stream>::Item

The type of the elements being iterated over.
§

type IntoStream = S

Which kind of stream are we turning this into?
§

fn into_stream(self) -> S

Creates a stream from a value.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<S> StreamExt for S
where S: Stream + ?Sized,

§

fn poll_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>
where Self: Unpin,

A convenience for calling [Stream::poll_next()] on !Unpin types.
§

fn next(&mut self) -> NextFuture<'_, Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.CryptoError.html b/pr/2978/docs/iroh/endpoint/struct.CryptoError.html index 4e3522f54a..634132cb4b 100644 --- a/pr/2978/docs/iroh/endpoint/struct.CryptoError.html +++ b/pr/2978/docs/iroh/endpoint/struct.CryptoError.html @@ -16,8 +16,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.DirectAddr.html b/pr/2978/docs/iroh/endpoint/struct.DirectAddr.html index 3178189d1e..28cc1725e3 100644 --- a/pr/2978/docs/iroh/endpoint/struct.DirectAddr.html +++ b/pr/2978/docs/iroh/endpoint/struct.DirectAddr.html @@ -41,8 +41,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.DirectAddrInfo.html b/pr/2978/docs/iroh/endpoint/struct.DirectAddrInfo.html index d0b96fdc22..6b9e182a38 100644 --- a/pr/2978/docs/iroh/endpoint/struct.DirectAddrInfo.html +++ b/pr/2978/docs/iroh/endpoint/struct.DirectAddrInfo.html @@ -63,8 +63,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.DirectAddrsStream.html b/pr/2978/docs/iroh/endpoint/struct.DirectAddrsStream.html index 74e9807ddf..1f4ed58f4c 100644 --- a/pr/2978/docs/iroh/endpoint/struct.DirectAddrsStream.html +++ b/pr/2978/docs/iroh/endpoint/struct.DirectAddrsStream.html @@ -35,8 +35,8 @@ available. Read more

From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<S> IntoStream for S
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<S> IntoStream for S
where S: Stream,

§

type Item = <S as Stream>::Item

The type of the elements being iterated over.
§

type IntoStream = S

Which kind of stream are we turning this into?
§

fn into_stream(self) -> S

Creates a stream from a value.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<S> StreamExt for S
where S: Stream + ?Sized,

§

fn poll_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>
where Self: Unpin,

A convenience for calling [Stream::poll_next()] on !Unpin types.
§

fn next(&mut self) -> NextFuture<'_, Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.Endpoint.html b/pr/2978/docs/iroh/endpoint/struct.Endpoint.html index 6370ecf01f..c38a5b4f60 100644 --- a/pr/2978/docs/iroh/endpoint/struct.Endpoint.html +++ b/pr/2978/docs/iroh/endpoint/struct.Endpoint.html @@ -196,8 +196,8 @@ TODO: Document error cases.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html b/pr/2978/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html index a7448a876c..10c33b85dc 100644 --- a/pr/2978/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html +++ b/pr/2978/docs/iroh/endpoint/struct.ExportKeyingMaterialError.html @@ -23,8 +23,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.FrameStats.html b/pr/2978/docs/iroh/endpoint/struct.FrameStats.html index 920d1b38ec..821e186ab8 100644 --- a/pr/2978/docs/iroh/endpoint/struct.FrameStats.html +++ b/pr/2978/docs/iroh/endpoint/struct.FrameStats.html @@ -44,8 +44,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.Incoming.html b/pr/2978/docs/iroh/endpoint/struct.Incoming.html index bc0404d5d9..cb9b0c0ad4 100644 --- a/pr/2978/docs/iroh/endpoint/struct.Incoming.html +++ b/pr/2978/docs/iroh/endpoint/struct.Incoming.html @@ -40,8 +40,8 @@ traffic sent to self.remote_address().

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.IncomingFuture.html b/pr/2978/docs/iroh/endpoint/struct.IncomingFuture.html index 5384d3862b..5f4c1a2203 100644 --- a/pr/2978/docs/iroh/endpoint/struct.IncomingFuture.html +++ b/pr/2978/docs/iroh/endpoint/struct.IncomingFuture.html @@ -90,8 +90,8 @@ the future is ready after the first call to Future::poll. Read m U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( diff --git a/pr/2978/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html b/pr/2978/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html index 337fef71d4..2e2f8ce33a 100644 --- a/pr/2978/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html +++ b/pr/2978/docs/iroh/endpoint/struct.MtuDiscoveryConfig.html @@ -79,8 +79,8 @@ Defaults to 20.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.NodeAddr.html b/pr/2978/docs/iroh/endpoint/struct.NodeAddr.html index 9672139820..f0e847e59e 100644 --- a/pr/2978/docs/iroh/endpoint/struct.NodeAddr.html +++ b/pr/2978/docs/iroh/endpoint/struct.NodeAddr.html @@ -83,8 +83,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.OpenBi.html b/pr/2978/docs/iroh/endpoint/struct.OpenBi.html index b5df19889b..07401e8c48 100644 --- a/pr/2978/docs/iroh/endpoint/struct.OpenBi.html +++ b/pr/2978/docs/iroh/endpoint/struct.OpenBi.html @@ -93,8 +93,8 @@ the future is ready after the first call to Future::poll. Read m U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( diff --git a/pr/2978/docs/iroh/endpoint/struct.OpenUni.html b/pr/2978/docs/iroh/endpoint/struct.OpenUni.html index 5bffedf6cb..b1b5b4aff7 100644 --- a/pr/2978/docs/iroh/endpoint/struct.OpenUni.html +++ b/pr/2978/docs/iroh/endpoint/struct.OpenUni.html @@ -93,8 +93,8 @@ the future is ready after the first call to Future::poll. Read m U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( diff --git a/pr/2978/docs/iroh/endpoint/struct.PathStats.html b/pr/2978/docs/iroh/endpoint/struct.PathStats.html index 4dae6d5009..8ca2687276 100644 --- a/pr/2978/docs/iroh/endpoint/struct.PathStats.html +++ b/pr/2978/docs/iroh/endpoint/struct.PathStats.html @@ -40,8 +40,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.ReadDatagram.html b/pr/2978/docs/iroh/endpoint/struct.ReadDatagram.html index ee7b5de795..97c4bf7a04 100644 --- a/pr/2978/docs/iroh/endpoint/struct.ReadDatagram.html +++ b/pr/2978/docs/iroh/endpoint/struct.ReadDatagram.html @@ -93,8 +93,8 @@ the future is ready after the first call to Future::poll. Read m U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<F, T, E> TryFuture for F
where F: Future<Output = Result<T, E>> + ?Sized,

§

type Ok = T

The type of successful values yielded by this future
§

type Error = E

The type of failures yielded by this future
§

fn try_poll( diff --git a/pr/2978/docs/iroh/endpoint/struct.RecvStream.html b/pr/2978/docs/iroh/endpoint/struct.RecvStream.html index 376445eb01..4c3b91e064 100644 --- a/pr/2978/docs/iroh/endpoint/struct.RecvStream.html +++ b/pr/2978/docs/iroh/endpoint/struct.RecvStream.html @@ -161,8 +161,8 @@ underlying reader. Read more

From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.RemoteInfo.html b/pr/2978/docs/iroh/endpoint/struct.RemoteInfo.html index 8de3048d73..d885083373 100644 --- a/pr/2978/docs/iroh/endpoint/struct.RemoteInfo.html +++ b/pr/2978/docs/iroh/endpoint/struct.RemoteInfo.html @@ -58,8 +58,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.RetryError.html b/pr/2978/docs/iroh/endpoint/struct.RetryError.html index 0225cf888d..87a548f9e6 100644 --- a/pr/2978/docs/iroh/endpoint/struct.RetryError.html +++ b/pr/2978/docs/iroh/endpoint/struct.RetryError.html @@ -18,8 +18,8 @@ validation token from a previous retry

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.SendStream.html b/pr/2978/docs/iroh/endpoint/struct.SendStream.html index 8d058aeb6a..59728b56ea 100644 --- a/pr/2978/docs/iroh/endpoint/struct.SendStream.html +++ b/pr/2978/docs/iroh/endpoint/struct.SendStream.html @@ -165,8 +165,8 @@ cleanly. Read more

From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.ServerConfig.html b/pr/2978/docs/iroh/endpoint/struct.ServerConfig.html index 648d430755..43a25e6eec 100644 --- a/pr/2978/docs/iroh/endpoint/struct.ServerConfig.html +++ b/pr/2978/docs/iroh/endpoint/struct.ServerConfig.html @@ -92,8 +92,8 @@ exhaustion in most contexts.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.StreamId.html b/pr/2978/docs/iroh/endpoint/struct.StreamId.html index 09f86eb226..9619f60a0a 100644 --- a/pr/2978/docs/iroh/endpoint/struct.StreamId.html +++ b/pr/2978/docs/iroh/endpoint/struct.StreamId.html @@ -38,8 +38,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.TransportConfig.html b/pr/2978/docs/iroh/endpoint/struct.TransportConfig.html index 9501936f43..1553fcd92d 100644 --- a/pr/2978/docs/iroh/endpoint/struct.TransportConfig.html +++ b/pr/2978/docs/iroh/endpoint/struct.TransportConfig.html @@ -171,8 +171,8 @@ reachable address, which in most NATd networks will not be easily available.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.TransportError.html b/pr/2978/docs/iroh/endpoint/struct.TransportError.html index bf3fada7d9..742623dc2a 100644 --- a/pr/2978/docs/iroh/endpoint/struct.TransportError.html +++ b/pr/2978/docs/iroh/endpoint/struct.TransportError.html @@ -31,8 +31,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.TransportErrorCode.html b/pr/2978/docs/iroh/endpoint/struct.TransportErrorCode.html index 6e6ec876cf..a3c79dd447 100644 --- a/pr/2978/docs/iroh/endpoint/struct.TransportErrorCode.html +++ b/pr/2978/docs/iroh/endpoint/struct.TransportErrorCode.html @@ -42,8 +42,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.UdpStats.html b/pr/2978/docs/iroh/endpoint/struct.UdpStats.html index ef4e2fb4c4..57a3909412 100644 --- a/pr/2978/docs/iroh/endpoint/struct.UdpStats.html +++ b/pr/2978/docs/iroh/endpoint/struct.UdpStats.html @@ -26,8 +26,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.UnsupportedVersion.html b/pr/2978/docs/iroh/endpoint/struct.UnsupportedVersion.html index 492c9b62c5..5ae4202afd 100644 --- a/pr/2978/docs/iroh/endpoint/struct.UnsupportedVersion.html +++ b/pr/2978/docs/iroh/endpoint/struct.UnsupportedVersion.html @@ -16,8 +16,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.VarInt.html b/pr/2978/docs/iroh/endpoint/struct.VarInt.html index 73f19dfddf..118358a8b7 100644 --- a/pr/2978/docs/iroh/endpoint/struct.VarInt.html +++ b/pr/2978/docs/iroh/endpoint/struct.VarInt.html @@ -48,8 +48,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.WeakConnectionHandle.html b/pr/2978/docs/iroh/endpoint/struct.WeakConnectionHandle.html index d87492fddd..2a030c8139 100644 --- a/pr/2978/docs/iroh/endpoint/struct.WeakConnectionHandle.html +++ b/pr/2978/docs/iroh/endpoint/struct.WeakConnectionHandle.html @@ -31,8 +31,8 @@ reset. false otherwise.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/endpoint/struct.Written.html b/pr/2978/docs/iroh/endpoint/struct.Written.html index 6dec616c4a..bcaf66c51a 100644 --- a/pr/2978/docs/iroh/endpoint/struct.Written.html +++ b/pr/2978/docs/iroh/endpoint/struct.Written.html @@ -30,8 +30,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/endpoint/struct.ZeroRttAccepted.html b/pr/2978/docs/iroh/endpoint/struct.ZeroRttAccepted.html index 588b52ebb9..d7a4cf5045 100644 --- a/pr/2978/docs/iroh/endpoint/struct.ZeroRttAccepted.html +++ b/pr/2978/docs/iroh/endpoint/struct.ZeroRttAccepted.html @@ -94,8 +94,8 @@ the future is ready after the first call to Future::poll. Read m U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<F> IntoFuture for F
where F: Future,

§

type Output = <F as Future>::Output

The output that the future will produce on completion.
§

type IntoFuture = F

Which kind of future are we turning this into?
source§

fn into_future(self) -> <F as IntoFuture>::IntoFuture

Creates a future from a value. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/enum.AddrInfoOptions.html b/pr/2978/docs/iroh/enum.AddrInfoOptions.html index a93e8cf0e1..3ad761cb33 100644 --- a/pr/2978/docs/iroh/enum.AddrInfoOptions.html +++ b/pr/2978/docs/iroh/enum.AddrInfoOptions.html @@ -43,8 +43,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/hash/enum.BlobFormat.html b/pr/2978/docs/iroh/hash/enum.BlobFormat.html index a722579ebe..01b7abb484 100644 --- a/pr/2978/docs/iroh/hash/enum.BlobFormat.html +++ b/pr/2978/docs/iroh/hash/enum.BlobFormat.html @@ -49,8 +49,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/hash/struct.Hash.html b/pr/2978/docs/iroh/hash/struct.Hash.html index 153751f583..3257d5aa40 100644 --- a/pr/2978/docs/iroh/hash/struct.Hash.html +++ b/pr/2978/docs/iroh/hash/struct.Hash.html @@ -55,8 +55,8 @@ Implementations may return a view over data, or an owned type

From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToHex for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToHex for T
where T: AsRef<[u8]>,

source§

fn encode_hex<U>(&self) -> U
where U: FromIterator<char>,

Encode the hex strict representing self into the result. Lower case letters are used (e.g. f9b4ca)
source§

fn encode_hex_upper<U>(&self) -> U
where diff --git a/pr/2978/docs/iroh/hash/struct.HashAndFormat.html b/pr/2978/docs/iroh/hash/struct.HashAndFormat.html index 78988b8474..47bd9aed65 100644 --- a/pr/2978/docs/iroh/hash/struct.HashAndFormat.html +++ b/pr/2978/docs/iroh/hash/struct.HashAndFormat.html @@ -56,8 +56,8 @@ Implementations may return a view over data, or an owned type

From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/key/enum.KeyParsingError.html b/pr/2978/docs/iroh/key/enum.KeyParsingError.html index c3e1fde003..8e92559884 100644 --- a/pr/2978/docs/iroh/key/enum.KeyParsingError.html +++ b/pr/2978/docs/iroh/key/enum.KeyParsingError.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/key/struct.PublicKey.html b/pr/2978/docs/iroh/key/struct.PublicKey.html index e35ea9eb87..0a6871b4b5 100644 --- a/pr/2978/docs/iroh/key/struct.PublicKey.html +++ b/pr/2978/docs/iroh/key/struct.PublicKey.html @@ -64,8 +64,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToHex for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToHex for T
where T: AsRef<[u8]>,

source§

fn encode_hex<U>(&self) -> U
where U: FromIterator<char>,

Encode the hex strict representing self into the result. Lower case letters are used (e.g. f9b4ca)
source§

fn encode_hex_upper<U>(&self) -> U
where diff --git a/pr/2978/docs/iroh/key/struct.SecretKey.html b/pr/2978/docs/iroh/key/struct.SecretKey.html index 53a2587386..a0414b2db3 100644 --- a/pr/2978/docs/iroh/key/struct.SecretKey.html +++ b/pr/2978/docs/iroh/key/struct.SecretKey.html @@ -39,8 +39,8 @@ The public part can always be recovered.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/key/struct.SharedSecret.html b/pr/2978/docs/iroh/key/struct.SharedSecret.html index 24d6c4f62e..8d8657886e 100644 --- a/pr/2978/docs/iroh/key/struct.SharedSecret.html +++ b/pr/2978/docs/iroh/key/struct.SharedSecret.html @@ -18,8 +18,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/key/struct.Signature.html b/pr/2978/docs/iroh/key/struct.Signature.html index f0d625d00d..ad77bb474e 100644 --- a/pr/2978/docs/iroh/key/struct.Signature.html +++ b/pr/2978/docs/iroh/key/struct.Signature.html @@ -52,8 +52,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/metrics/struct.MagicsockMetrics.html b/pr/2978/docs/iroh/metrics/struct.MagicsockMetrics.html index 9bdf6f3a2c..f56f065867 100644 --- a/pr/2978/docs/iroh/metrics/struct.MagicsockMetrics.html +++ b/pr/2978/docs/iroh/metrics/struct.MagicsockMetrics.html @@ -76,8 +76,8 @@ Only records if this metric is registered in the global registry.

From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/metrics/struct.NetReportMetrics.html b/pr/2978/docs/iroh/metrics/struct.NetReportMetrics.html index 724c7019fe..71f6a9e596 100644 --- a/pr/2978/docs/iroh/metrics/struct.NetReportMetrics.html +++ b/pr/2978/docs/iroh/metrics/struct.NetReportMetrics.html @@ -28,8 +28,8 @@ Only records if this metric is registered in the global registry.

From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/metrics/struct.PortmapMetrics.html b/pr/2978/docs/iroh/metrics/struct.PortmapMetrics.html index e085b48509..df8f91edc2 100644 --- a/pr/2978/docs/iroh/metrics/struct.PortmapMetrics.html +++ b/pr/2978/docs/iroh/metrics/struct.PortmapMetrics.html @@ -1,4 +1,4 @@ -PortmapMetrics in iroh::metrics - Rust

Struct iroh::metrics::PortmapMetrics

source ·
pub struct PortmapMetrics {
+PortmapMetrics in iroh::metrics - Rust

Struct iroh::metrics::PortmapMetrics

pub struct PortmapMetrics {
     pub probes_started: Counter,
     pub local_port_updates: Counter,
     pub mapping_attempts: Counter,
@@ -11,7 +11,7 @@
     pub pcp_probes: Counter,
     pub pcp_available: Counter,
 }
Expand description

Enum of metrics for the module

-

Fields§

§probes_started: Counter§local_port_updates: Counter§mapping_attempts: Counter§mapping_failures: Counter§external_address_updated: Counter§upnp_probes: Counter§upnp_probes_failed: Counter§upnp_available: Counter§upnp_gateway_updated: Counter§pcp_probes: Counter§pcp_available: Counter

Trait Implementations§

source§

impl Clone for Metrics

source§

fn clone(&self) -> Metrics

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Metrics

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Metrics

source§

fn default() -> Metrics

Returns the “default value” for a type. Read more
source§

impl Iterable for Metrics

source§

fn iter<'a>(&'a self) -> IntoIter<(&'static str, &'a (dyn Any + 'static))>

Returns an iterator over the struct’s fields as tuples. Read more
source§

impl Metric for Metrics

source§

fn name() -> &'static str

The name of this metric group.
§

fn new(registry: &mut Registry) -> Self

Initializes this metric group.
§

fn with_metric<T, F>(f: F)
where +

Fields§

§probes_started: Counter§local_port_updates: Counter§mapping_attempts: Counter§mapping_failures: Counter§external_address_updated: Counter§upnp_probes: Counter§upnp_probes_failed: Counter§upnp_available: Counter§upnp_gateway_updated: Counter§pcp_probes: Counter§pcp_available: Counter

Trait Implementations§

§

impl Clone for Metrics

§

fn clone(&self) -> Metrics

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Metrics

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Metrics

§

fn default() -> Metrics

Returns the “default value” for a type. Read more
§

impl Iterable for Metrics

§

fn iter<'a>(&'a self) -> IntoIter<(&'static str, &'a (dyn Any + 'static))>

Returns an iterator over the struct’s fields as tuples. Read more
§

impl Metric for Metrics

§

fn name() -> &'static str

The name of this metric group.
§

fn new(registry: &mut Registry) -> Self

Initializes this metric group.
§

fn with_metric<T, F>(f: F)
where F: FnOnce(&Self) -> T,

Access to this metrics group to record a metric. Only records if this metric is registered in the global registry.
§

fn try_get() -> Option<&'static Self>

Attempts to get the current metric from the global registry.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where @@ -32,8 +32,8 @@ Only records if this metric is registered in the global registry.

From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/metrics/struct.RelayMetrics.html b/pr/2978/docs/iroh/metrics/struct.RelayMetrics.html index 7b366d9dc8..6fadcb5029 100644 --- a/pr/2978/docs/iroh/metrics/struct.RelayMetrics.html +++ b/pr/2978/docs/iroh/metrics/struct.RelayMetrics.html @@ -63,8 +63,8 @@ Only records if this metric is registered in the global registry.

From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/protocol/index.html b/pr/2978/docs/iroh/protocol/index.html index 044a669291..21653f8a77 100644 --- a/pr/2978/docs/iroh/protocol/index.html +++ b/pr/2978/docs/iroh/protocol/index.html @@ -1,4 +1,4 @@ -iroh::protocol - Rust

Module iroh::protocol

source ·
Expand description

Tools for spawning an accept loop that routes incoming requests to the right protocol.

+iroh::protocol - Rust

Module iroh::protocol

source ·
Expand description

Tools for spawning an accept loop that routes incoming requests to the right protocol.

§Example

let endpoint = Endpoint::builder().discovery_n0().bind().await?;
 
diff --git a/pr/2978/docs/iroh/protocol/struct.ProtocolMap.html b/pr/2978/docs/iroh/protocol/struct.ProtocolMap.html
index cf9ed4a183..7ea6e9b95a 100644
--- a/pr/2978/docs/iroh/protocol/struct.ProtocolMap.html
+++ b/pr/2978/docs/iroh/protocol/struct.ProtocolMap.html
@@ -1,11 +1,11 @@
-ProtocolMap in iroh::protocol - Rust

Struct iroh::protocol::ProtocolMap

source ·
pub struct ProtocolMap(/* private fields */);
Expand description

A typed map of protocol handlers, mapping them from ALPNs.

-

Implementations§

source§

impl ProtocolMap

source

pub fn get_typed<P: ProtocolHandler>(&self, alpn: &[u8]) -> Option<Arc<P>>

Returns the registered protocol handler for an ALPN as a concrete type.

-
source

pub fn get(&self, alpn: &[u8]) -> Option<Arc<dyn ProtocolHandler>>

Returns the registered protocol handler for an ALPN as a Arc<dyn ProtocolHandler>.

-
source

pub fn insert(&mut self, alpn: Vec<u8>, handler: Arc<dyn ProtocolHandler>)

Inserts a protocol handler.

-
source

pub fn alpns(&self) -> impl Iterator<Item = &Vec<u8>>

Returns an iterator of all registered ALPN protocol identifiers.

-
source

pub async fn shutdown(&self)

Shuts down all protocol handlers.

+ProtocolMap in iroh::protocol - Rust

Struct iroh::protocol::ProtocolMap

source ·
pub struct ProtocolMap(/* private fields */);
Expand description

A typed map of protocol handlers, mapping them from ALPNs.

+

Implementations§

source§

impl ProtocolMap

source

pub fn get_typed<P: ProtocolHandler>(&self, alpn: &[u8]) -> Option<Arc<P>>

Returns the registered protocol handler for an ALPN as a concrete type.

+
source

pub fn get(&self, alpn: &[u8]) -> Option<Arc<dyn ProtocolHandler>>

Returns the registered protocol handler for an ALPN as a Arc<dyn ProtocolHandler>.

+
source

pub fn insert(&mut self, alpn: Vec<u8>, handler: Arc<dyn ProtocolHandler>)

Inserts a protocol handler.

+
source

pub fn alpns(&self) -> impl Iterator<Item = &Vec<u8>>

Returns an iterator of all registered ALPN protocol identifiers.

+
source

pub async fn shutdown(&self)

Shuts down all protocol handlers.

Calls and awaits ProtocolHandler::shutdown for all registered handlers concurrently.

-

Trait Implementations§

source§

impl Clone for ProtocolMap

source§

fn clone(&self) -> ProtocolMap

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProtocolMap

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProtocolMap

source§

fn default() -> ProtocolMap

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Clone for ProtocolMap

source§

fn clone(&self) -> ProtocolMap

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProtocolMap

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProtocolMap

source§

fn default() -> ProtocolMap

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( @@ -24,8 +24,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/protocol/struct.Router.html b/pr/2978/docs/iroh/protocol/struct.Router.html index cc173c80bd..9a217a3a11 100644 --- a/pr/2978/docs/iroh/protocol/struct.Router.html +++ b/pr/2978/docs/iroh/protocol/struct.Router.html @@ -1,4 +1,4 @@ -Router in iroh::protocol - Rust

Struct iroh::protocol::Router

source ·
pub struct Router { /* private fields */ }
Expand description

The built router.

+Router in iroh::protocol - Rust

Struct iroh::protocol::Router

source ·
pub struct Router { /* private fields */ }
Expand description

The built router.

Construct this using Router::builder.

When dropped, this will abort listening the tasks, so make sure to store it.

Even with this abort-on-drop behaviour, it’s recommended to call and await @@ -16,17 +16,17 @@ wait for [tokio::signal::ctrl_c()]:

// wait until the user wants to tokio::signal::ctrl_c().await?; router.shutdown().await?;
-

Implementations§

source§

impl Router

source

pub fn builder(endpoint: Endpoint) -> RouterBuilder

Creates a new Router using given Endpoint.

-
source

pub fn get_protocol<P: ProtocolHandler>(&self, alpn: &[u8]) -> Option<Arc<P>>

Returns a protocol handler for an ALPN.

+

Implementations§

source§

impl Router

source

pub fn builder(endpoint: Endpoint) -> RouterBuilder

Creates a new Router using given Endpoint.

+
source

pub fn get_protocol<P: ProtocolHandler>(&self, alpn: &[u8]) -> Option<Arc<P>>

Returns a protocol handler for an ALPN.

This downcasts to the concrete type and returns None if the handler registered for alpn does not match the passed type.

-
source

pub fn endpoint(&self) -> &Endpoint

Returns the Endpoint stored in this router.

-
source

pub fn is_shutdown(&self) -> bool

Checks if the router is already shutdown.

-
source

pub async fn shutdown(&self) -> Result<()>

Shuts down the accept loop cleanly.

+
source

pub fn endpoint(&self) -> &Endpoint

Returns the Endpoint stored in this router.

+
source

pub fn is_shutdown(&self) -> bool

Checks if the router is already shutdown.

+
source

pub async fn shutdown(&self) -> Result<()>

Shuts down the accept loop cleanly.

If some ProtocolHandler panicked in the accept loop, this will propagate that panic into the result here.

If already shutdown, it just returns Ok.

-

Trait Implementations§

source§

impl Clone for Router

source§

fn clone(&self) -> Router

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Router

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Router

§

impl !RefUnwindSafe for Router

§

impl Send for Router

§

impl Sync for Router

§

impl Unpin for Router

§

impl !UnwindSafe for Router

Blanket Implementations§

source§

impl<T> Any for T
where +

Trait Implementations§

source§

impl Clone for Router

source§

fn clone(&self) -> Router

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Router

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Router

§

impl !RefUnwindSafe for Router

§

impl Send for Router

§

impl Sync for Router

§

impl Unpin for Router

§

impl !UnwindSafe for Router

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( @@ -45,8 +45,8 @@ that panic into the result here.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/protocol/struct.RouterBuilder.html b/pr/2978/docs/iroh/protocol/struct.RouterBuilder.html index 18f4e32c89..b1307ef5eb 100644 --- a/pr/2978/docs/iroh/protocol/struct.RouterBuilder.html +++ b/pr/2978/docs/iroh/protocol/struct.RouterBuilder.html @@ -1,17 +1,17 @@ -RouterBuilder in iroh::protocol - Rust

Struct iroh::protocol::RouterBuilder

source ·
pub struct RouterBuilder { /* private fields */ }
Expand description

Builder for creating a Router for accepting protocols.

-

Implementations§

source§

impl RouterBuilder

source

pub fn new(endpoint: Endpoint) -> Self

Creates a new router builder using given Endpoint.

-
source

pub fn accept( +RouterBuilder in iroh::protocol - Rust

Struct iroh::protocol::RouterBuilder

source ·
pub struct RouterBuilder { /* private fields */ }
Expand description

Builder for creating a Router for accepting protocols.

+

Implementations§

source§

impl RouterBuilder

source

pub fn new(endpoint: Endpoint) -> Self

Creates a new router builder using given Endpoint.

+
source

pub fn accept( self, alpn: impl AsRef<[u8]>, handler: Arc<dyn ProtocolHandler> ) -> Self

Configures the router to accept the ProtocolHandler when receiving a connection with this alpn.

-
source

pub fn endpoint(&self) -> &Endpoint

Returns the Endpoint of the node.

-
source

pub fn get_protocol<P: ProtocolHandler>(&self, alpn: &[u8]) -> Option<Arc<P>>

Returns a protocol handler for an ALPN.

+
source

pub fn endpoint(&self) -> &Endpoint

Returns the Endpoint of the node.

+
source

pub fn get_protocol<P: ProtocolHandler>(&self, alpn: &[u8]) -> Option<Arc<P>>

Returns a protocol handler for an ALPN.

This downcasts to the concrete type and returns None if the handler registered for alpn does not match the passed type.

-
source

pub async fn spawn(self) -> Result<Router>

Spawns an accept loop and returns a handle to it encapsulated as the Router.

-

Trait Implementations§

source§

impl Debug for RouterBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

source

pub async fn spawn(self) -> Result<Router>

Spawns an accept loop and returns a handle to it encapsulated as the Router.

+

Trait Implementations§

source§

impl Debug for RouterBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( @@ -28,8 +28,8 @@ does not match the passed type.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/protocol/trait.IntoArcAny.html b/pr/2978/docs/iroh/protocol/trait.IntoArcAny.html index d82fe3f946..977bce2bea 100644 --- a/pr/2978/docs/iroh/protocol/trait.IntoArcAny.html +++ b/pr/2978/docs/iroh/protocol/trait.IntoArcAny.html @@ -1,7 +1,7 @@ -IntoArcAny in iroh::protocol - Rust

Trait iroh::protocol::IntoArcAny

source ·
pub trait IntoArcAny {
+IntoArcAny in iroh::protocol - Rust

Trait iroh::protocol::IntoArcAny

source ·
pub trait IntoArcAny {
     // Required method
     fn into_arc_any(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>;
 }
Expand description

Helper trait to facilite casting from Arc<dyn T> to Arc<dyn Any>.

This trait has a blanket implementation so there is no need to implement this yourself.

-

Required Methods§

source

fn into_arc_any(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.

-

Implementors§

source§

impl<T: Send + Sync + 'static> IntoArcAny for T

\ No newline at end of file +

Required Methods§

source

fn into_arc_any(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.

+

Implementors§

source§

impl<T: Send + Sync + 'static> IntoArcAny for T

\ No newline at end of file diff --git a/pr/2978/docs/iroh/protocol/trait.ProtocolHandler.html b/pr/2978/docs/iroh/protocol/trait.ProtocolHandler.html index 11c18df6d4..988d6cbf2c 100644 --- a/pr/2978/docs/iroh/protocol/trait.ProtocolHandler.html +++ b/pr/2978/docs/iroh/protocol/trait.ProtocolHandler.html @@ -1,4 +1,4 @@ -ProtocolHandler in iroh::protocol - Rust

Trait iroh::protocol::ProtocolHandler

source ·
pub trait ProtocolHandler: Send + Sync + IntoArcAny + Debug + 'static {
+ProtocolHandler in iroh::protocol - Rust

Trait iroh::protocol::ProtocolHandler

source ·
pub trait ProtocolHandler: Send + Sync + IntoArcAny + Debug + 'static {
     // Required method
     fn accept(self: Arc<Self>, conn: Connecting) -> BoxedFuture<Result<()>>;
 
@@ -10,7 +10,7 @@
 

Implement this trait on a struct that should handle incoming connections. The protocol handler must then be registered on the node for an ALPN protocol with crate::protocol::RouterBuilder::accept.

-

Required Methods§

source

fn accept(self: Arc<Self>, conn: Connecting) -> BoxedFuture<Result<()>>

Handle an incoming connection.

+

Required Methods§

source

fn accept(self: Arc<Self>, conn: Connecting) -> BoxedFuture<Result<()>>

Handle an incoming connection.

This runs on a freshly spawned tokio task so this can be long-running.

-

Provided Methods§

source

fn shutdown(self: Arc<Self>) -> BoxedFuture<()>

Called when the node shuts down.

+

Provided Methods§

source

fn shutdown(self: Arc<Self>) -> BoxedFuture<()>

Called when the node shuts down.

Implementors§

\ No newline at end of file diff --git a/pr/2978/docs/iroh/struct.AddrInfo.html b/pr/2978/docs/iroh/struct.AddrInfo.html index fd5183408e..cf4aa76c8a 100644 --- a/pr/2978/docs/iroh/struct.AddrInfo.html +++ b/pr/2978/docs/iroh/struct.AddrInfo.html @@ -51,8 +51,8 @@ operator. From<T>,
source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/struct.NodeAddr.html b/pr/2978/docs/iroh/struct.NodeAddr.html index 84c70b07d3..981d2e86e9 100644 --- a/pr/2978/docs/iroh/struct.NodeAddr.html +++ b/pr/2978/docs/iroh/struct.NodeAddr.html @@ -83,8 +83,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/struct.RelayMap.html b/pr/2978/docs/iroh/struct.RelayMap.html index 238fa6a237..a4e39d99b1 100644 --- a/pr/2978/docs/iroh/struct.RelayMap.html +++ b/pr/2978/docs/iroh/struct.RelayMap.html @@ -41,8 +41,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/struct.RelayNode.html b/pr/2978/docs/iroh/struct.RelayNode.html index 52c8cef698..3a465d0d70 100644 --- a/pr/2978/docs/iroh/struct.RelayNode.html +++ b/pr/2978/docs/iroh/struct.RelayNode.html @@ -49,8 +49,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/struct.RelayUrl.html b/pr/2978/docs/iroh/struct.RelayUrl.html index 4bf994f7df..ae4410d572 100644 --- a/pr/2978/docs/iroh/struct.RelayUrl.html +++ b/pr/2978/docs/iroh/struct.RelayUrl.html @@ -491,8 +491,8 @@ operator. From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/test_utils/struct.CleanupDropGuard.html b/pr/2978/docs/iroh/test_utils/struct.CleanupDropGuard.html index 2ac95c55b8..dfa4e9e78c 100644 --- a/pr/2978/docs/iroh/test_utils/struct.CleanupDropGuard.html +++ b/pr/2978/docs/iroh/test_utils/struct.CleanupDropGuard.html @@ -18,8 +18,8 @@ resources.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/test_utils/struct.DnsPkarrServer.html b/pr/2978/docs/iroh/test_utils/struct.DnsPkarrServer.html index 380ebc3141..5c37034d14 100644 --- a/pr/2978/docs/iroh/test_utils/struct.DnsPkarrServer.html +++ b/pr/2978/docs/iroh/test_utils/struct.DnsPkarrServer.html @@ -32,8 +32,8 @@ configured to use the test servers.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/ticket/enum.Error.html b/pr/2978/docs/iroh/ticket/enum.Error.html index b428dd181e..02976231db 100644 --- a/pr/2978/docs/iroh/ticket/enum.Error.html +++ b/pr/2978/docs/iroh/ticket/enum.Error.html @@ -27,8 +27,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/ticket/struct.BlobTicket.html b/pr/2978/docs/iroh/ticket/struct.BlobTicket.html index 51b2de9dde..86034e5016 100644 --- a/pr/2978/docs/iroh/ticket/struct.BlobTicket.html +++ b/pr/2978/docs/iroh/ticket/struct.BlobTicket.html @@ -42,8 +42,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/ticket/struct.NodeTicket.html b/pr/2978/docs/iroh/ticket/struct.NodeTicket.html index d1f5e32b7e..286803bff7 100644 --- a/pr/2978/docs/iroh/ticket/struct.NodeTicket.html +++ b/pr/2978/docs/iroh/ticket/struct.NodeTicket.html @@ -46,8 +46,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh/tls/certificate/struct.GenError.html b/pr/2978/docs/iroh/tls/certificate/struct.GenError.html index 7557805978..9a97dfb47d 100644 --- a/pr/2978/docs/iroh/tls/certificate/struct.GenError.html +++ b/pr/2978/docs/iroh/tls/certificate/struct.GenError.html @@ -16,8 +16,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/tls/certificate/struct.P2pCertificate.html b/pr/2978/docs/iroh/tls/certificate/struct.P2pCertificate.html index 8442056914..20fcd11040 100644 --- a/pr/2978/docs/iroh/tls/certificate/struct.P2pCertificate.html +++ b/pr/2978/docs/iroh/tls/certificate/struct.P2pCertificate.html @@ -25,8 +25,8 @@ in the certificate.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/tls/certificate/struct.P2pExtension.html b/pr/2978/docs/iroh/tls/certificate/struct.P2pExtension.html index c66de06893..ea819f846d 100644 --- a/pr/2978/docs/iroh/tls/certificate/struct.P2pExtension.html +++ b/pr/2978/docs/iroh/tls/certificate/struct.P2pExtension.html @@ -17,8 +17,8 @@ and a signature performed using the private host key.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh/tls/certificate/struct.ParseError.html b/pr/2978/docs/iroh/tls/certificate/struct.ParseError.html index 7fa7c608e9..8236c101f8 100644 --- a/pr/2978/docs/iroh/tls/certificate/struct.ParseError.html +++ b/pr/2978/docs/iroh/tls/certificate/struct.ParseError.html @@ -16,8 +16,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/tls/certificate/struct.VerificationError.html b/pr/2978/docs/iroh/tls/certificate/struct.VerificationError.html index d75d81eb9b..40d09d3615 100644 --- a/pr/2978/docs/iroh/tls/certificate/struct.VerificationError.html +++ b/pr/2978/docs/iroh/tls/certificate/struct.VerificationError.html @@ -16,8 +16,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh/tls/enum.CreateConfigError.html b/pr/2978/docs/iroh/tls/enum.CreateConfigError.html index a5a8275ea8..c35d9ce17d 100644 --- a/pr/2978/docs/iroh/tls/enum.CreateConfigError.html +++ b/pr/2978/docs/iroh/tls/enum.CreateConfigError.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/cli/net/enum.NetCommands.html b/pr/2978/docs/iroh_node_util/cli/net/enum.NetCommands.html index 46c7f8fa30..3107bbcc53 100644 --- a/pr/2978/docs/iroh_node_util/cli/net/enum.NetCommands.html +++ b/pr/2978/docs/iroh_node_util/cli/net/enum.NetCommands.html @@ -46,8 +46,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/cli/node/enum.NodeCommands.html b/pr/2978/docs/iroh_node_util/cli/node/enum.NodeCommands.html index 983a28aab8..1f5e5275b1 100644 --- a/pr/2978/docs/iroh_node_util/cli/node/enum.NodeCommands.html +++ b/pr/2978/docs/iroh_node_util/cli/node/enum.NodeCommands.html @@ -41,8 +41,8 @@ for all connections to close.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/logging/enum.Rotation.html b/pr/2978/docs/iroh_node_util/logging/enum.Rotation.html index b7d039b945..f2a70ac0f9 100644 --- a/pr/2978/docs/iroh_node_util/logging/enum.Rotation.html +++ b/pr/2978/docs/iroh_node_util/logging/enum.Rotation.html @@ -31,8 +31,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/logging/struct.EnvFilter.html b/pr/2978/docs/iroh_node_util/logging/struct.EnvFilter.html index 9c67fd2eab..f57f1be514 100644 --- a/pr/2978/docs/iroh_node_util/logging/struct.EnvFilter.html +++ b/pr/2978/docs/iroh_node_util/logging/struct.EnvFilter.html @@ -29,8 +29,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh_node_util/logging/struct.FileLogging.html b/pr/2978/docs/iroh_node_util/logging/struct.FileLogging.html index 26bba7dcb3..ffd80bb18b 100644 --- a/pr/2978/docs/iroh_node_util/logging/struct.FileLogging.html +++ b/pr/2978/docs/iroh_node_util/logging/struct.FileLogging.html @@ -36,8 +36,8 @@ sufficient, and should not be overridden without very good reason.
From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/client/net/struct.Client.html b/pr/2978/docs/iroh_node_util/rpc/client/net/struct.Client.html index d6a366f958..ce0519bbb6 100644 --- a/pr/2978/docs/iroh_node_util/rpc/client/net/struct.Client.html +++ b/pr/2978/docs/iroh_node_util/rpc/client/net/struct.Client.html @@ -7,20 +7,20 @@ provide address information about other nodes to your node.

Implementations§

source§

impl Client

source

pub fn new(rpc: RpcClient<RpcService>) -> Self

Creates a new net client

source

pub async fn remote_info_iter( &self -) -> Result<impl Stream<Item = Result<RemoteInfo>>>

Fetches information about currently known remote nodes.

+) -> Result<impl Stream<Item = Result<RemoteInfo>>>

Fetches information about currently known remote nodes.

This streams a current snapshot. It does not keep the stream open after finishing transferring the snapshot.

-

See also Endpoint::remote_info_iter.

-
source

pub async fn remote_info(&self, node_id: NodeId) -> Result<Option<RemoteInfo>>

Fetches node information about a remote iroh node identified by its [NodeId].

-

See also Endpoint::remote_info.

+

See also Endpoint::remote_info_iter.

+
source

pub async fn remote_info(&self, node_id: NodeId) -> Result<Option<RemoteInfo>>

Fetches node information about a remote iroh node identified by its [NodeId].

+

See also Endpoint::remote_info.

source

pub async fn node_id(&self) -> Result<NodeId>

Fetches the node id of this node.

-

See also Endpoint::node_id.

+

See also Endpoint::node_id.

source

pub async fn node_addr(&self) -> Result<NodeAddr>

Fetches the [NodeAddr] for this node.

-

See also Endpoint::node_addr.

+

See also Endpoint::node_addr.

source

pub async fn add_node_addr(&self, addr: NodeAddr) -> Result<()>

Adds a known node address to this node.

-

See also Endpoint::add_node_addr.

+

See also Endpoint::add_node_addr.

source

pub async fn home_relay(&self) -> Result<Option<RelayUrl>>

Returns the relay server we are connected to.

-

See also Endpoint::home_relay.

+

See also Endpoint::home_relay.

Trait Implementations§

source§

impl Clone for Client

source§

fn clone(&self) -> Client

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Client

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Client

§

impl !RefUnwindSafe for Client

§

impl Send for Client

§

impl Sync for Client

§

impl Unpin for Client

§

impl !UnwindSafe for Client

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where @@ -40,8 +40,8 @@ transferring the snapshot.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/client/net/struct.NodeStatus.html b/pr/2978/docs/iroh_node_util/rpc/client/net/struct.NodeStatus.html index 4a6fcee808..37e8812b10 100644 --- a/pr/2978/docs/iroh_node_util/rpc/client/net/struct.NodeStatus.html +++ b/pr/2978/docs/iroh_node_util/rpc/client/net/struct.NodeStatus.html @@ -27,8 +27,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/client/node/struct.Client.html b/pr/2978/docs/iroh_node_util/rpc/client/node/struct.Client.html index c821b97d88..183a6f586a 100644 --- a/pr/2978/docs/iroh_node_util/rpc/client/node/struct.Client.html +++ b/pr/2978/docs/iroh_node_util/rpc/client/node/struct.Client.html @@ -24,8 +24,8 @@ waiting for things to stop gracefully.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/enum.Request.html b/pr/2978/docs/iroh_node_util/rpc/proto/enum.Request.html index e794088fbd..185116ada5 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/enum.Request.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/enum.Request.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/enum.Response.html b/pr/2978/docs/iroh_node_util/rpc/proto/enum.Response.html index 4f7825a491..db405984ac 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/enum.Response.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/enum.Response.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/enum.Request.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/enum.Request.html index ea739f886c..8c4e1a4992 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/enum.Request.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/enum.Request.html @@ -25,8 +25,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/enum.Response.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/enum.Response.html index c85fc3480a..1bd7f238aa 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/enum.Response.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/enum.Response.html @@ -25,8 +25,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.AddAddrRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.AddAddrRequest.html index 82e38c1bd5..a9b2557d8e 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.AddAddrRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.AddAddrRequest.html @@ -19,8 +19,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where T: RpcMsg<S>, S: Service,

§

type Pattern = Rpc

The interaction pattern for this message with this service.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.AddrRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.AddrRequest.html index 2b9f1c7695..4d7e9b5f5b 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.AddrRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.AddrRequest.html @@ -17,8 +17,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where T: RpcMsg<S>, S: Service,

§

type Pattern = Rpc

The interaction pattern for this message with this service.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.IdRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.IdRequest.html index 77f7c9c0cb..5aac9d4914 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.IdRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.IdRequest.html @@ -18,8 +18,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where T: RpcMsg<S>, S: Service,

§

type Pattern = Rpc

The interaction pattern for this message with this service.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.NodeWatchRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.NodeWatchRequest.html index 4c374b5518..1a61ec9d74 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.NodeWatchRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.NodeWatchRequest.html @@ -18,8 +18,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RelayRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RelayRequest.html index 7da1a2a626..8c83277514 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RelayRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RelayRequest.html @@ -17,8 +17,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where T: RpcMsg<S>, S: Service,

§

type Pattern = Rpc

The interaction pattern for this message with this service.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoRequest.html index 2b948f1329..6ec6fecc4c 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoRequest.html @@ -23,8 +23,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where T: RpcMsg<S>, S: Service,

§

type Pattern = Rpc

The interaction pattern for this message with this service.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoResponse.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoResponse.html index d7cc099d61..4461f58ccf 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoResponse.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoResponse.html @@ -1,7 +1,7 @@ RemoteInfoResponse in iroh_node_util::rpc::proto::net - Rust

Struct iroh_node_util::rpc::proto::net::RemoteInfoResponse

source ·
pub struct RemoteInfoResponse {
-    pub info: Option<RemoteInfo>,
+    pub info: Option<RemoteInfo>,
 }
Expand description

A response to a Request::RemoteInfo request

-

Fields§

§info: Option<RemoteInfo>

Information about a node

+

Fields§

§info: Option<RemoteInfo>

Information about a node

Trait Implementations§

source§

impl Debug for RemoteInfoResponse

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for RemoteInfoResponse

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for RemoteInfoResponse

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterRequest.html index 9ddb491dc5..740326b961 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterRequest.html @@ -21,8 +21,8 @@ or be added manually.

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterResponse.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterResponse.html index fc8bd5f434..99375d905a 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterResponse.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterResponse.html @@ -1,7 +1,7 @@ RemoteInfosIterResponse in iroh_node_util::rpc::proto::net - Rust

Struct iroh_node_util::rpc::proto::net::RemoteInfosIterResponse

source ·
pub struct RemoteInfosIterResponse {
-    pub info: RemoteInfo,
+    pub info: RemoteInfo,
 }
Expand description

A response to a Request::RemoteInfosIter.

-

Fields§

§info: RemoteInfo

Information about a node.

+

Fields§

§info: RemoteInfo

Information about a node.

Trait Implementations§

source§

impl Debug for RemoteInfosIterResponse

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for RemoteInfosIterResponse

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for RemoteInfosIterResponse

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.WatchResponse.html b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.WatchResponse.html index e67d094b3d..59ba129662 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.WatchResponse.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/net/struct.WatchResponse.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/node/enum.Request.html b/pr/2978/docs/iroh_node_util/rpc/proto/node/enum.Request.html index 29972db165..a5064a62be 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/node/enum.Request.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/node/enum.Request.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/node/enum.Response.html b/pr/2978/docs/iroh_node_util/rpc/proto/node/enum.Response.html index e094ec32e6..b98ad2c3d3 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/node/enum.Response.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/node/enum.Response.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.CounterStats.html b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.CounterStats.html index a5dff1f2ac..778e88077e 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.CounterStats.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.CounterStats.html @@ -23,8 +23,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.ShutdownRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.ShutdownRequest.html index 4242d2cd9e..c3ee5a6778 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.ShutdownRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.ShutdownRequest.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where T: RpcMsg<S>, S: Service,

§

type Pattern = Rpc

The interaction pattern for this message with this service.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatsRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatsRequest.html index 00e4a51933..298ee03428 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatsRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatsRequest.html @@ -18,8 +18,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where T: RpcMsg<S>, S: Service,

§

type Pattern = Rpc

The interaction pattern for this message with this service.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatsResponse.html b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatsResponse.html index 079d281296..9ffc6aedf2 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatsResponse.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatsResponse.html @@ -21,8 +21,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatusRequest.html b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatusRequest.html index fd37d11f66..42345d0e9d 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatusRequest.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/node/struct.StatusRequest.html @@ -18,8 +18,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
§

impl<T, S> Msg<S> for T
where T: RpcMsg<S>, S: Service,

§

type Pattern = Rpc

The interaction pattern for this message with this service.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/proto/struct.RpcService.html b/pr/2978/docs/iroh_node_util/rpc/proto/struct.RpcService.html index ff7e476fdd..c677c48dad 100644 --- a/pr/2978/docs/iroh_node_util/rpc/proto/struct.RpcService.html +++ b/pr/2978/docs/iroh_node_util/rpc/proto/struct.RpcService.html @@ -18,8 +18,8 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
§

impl<T> IntoArcAny for T
where - T: Send + Sync + 'static,

§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where +

source§

impl<T> IntoArcAny for T
where + T: Send + Sync + 'static,

source§

fn into_arc_any(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Casts Arc<Self> into Arc<dyn Any + Send + Sync>.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/pr/2978/docs/iroh_node_util/rpc/server/trait.AbstractNode.html b/pr/2978/docs/iroh_node_util/rpc/server/trait.AbstractNode.html index 6e29371a7b..d099580ca3 100644 --- a/pr/2978/docs/iroh_node_util/rpc/server/trait.AbstractNode.html +++ b/pr/2978/docs/iroh_node_util/rpc/server/trait.AbstractNode.html @@ -1,13 +1,13 @@ AbstractNode in iroh_node_util::rpc::server - Rust

Trait iroh_node_util::rpc::server::AbstractNode

source ·
pub trait AbstractNode: Send + Sync + 'static {
     // Required methods
-    fn endpoint(&self) -> &Endpoint;
+    fn endpoint(&self) -> &Endpoint;
     fn shutdown(&self);
 
     // Provided methods
     fn rpc_addr(&self) -> Option<SocketAddr> { ... }
     fn stats(&self) -> Result<BTreeMap<String, CounterStats>> { ... }
 }
Expand description

Trait that provides fields used by the rpc handler for the net and node requests.

-

Required Methods§

source

fn endpoint(&self) -> &Endpoint

Get the endpoint of the node

+

Required Methods§

source

fn endpoint(&self) -> &Endpoint

Get the endpoint of the node

source

fn shutdown(&self)

Shutdown the node, used by the node shutdown rpc call

Provided Methods§

source

fn rpc_addr(&self) -> Option<SocketAddr>

Rpc address of the node, used by the node status rpc call

source

fn stats(&self) -> Result<BTreeMap<String, CounterStats>>

Stats for the node stats rpc call

diff --git a/pr/2978/docs/src/iroh/protocol.rs.html b/pr/2978/docs/src/iroh/protocol.rs.html index 67f4cb96f8..550bb290ec 100644 --- a/pr/2978/docs/src/iroh/protocol.rs.html +++ b/pr/2978/docs/src/iroh/protocol.rs.html @@ -375,17 +375,6 @@ 375 376 377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388
//! Tools for spawning an accept loop that routes incoming requests to the right protocol.
 //!
 //! ## Example
@@ -430,14 +419,10 @@
 //! ```
 use std::{any::Any, collections::BTreeMap, sync::Arc};
 
-use anyhow::{anyhow, Result};
+use anyhow::Result;
 use futures_buffered::join_all;
 use futures_lite::future::Boxed as BoxedFuture;
-use futures_util::{
-    future::{MapErr, Shared},
-    FutureExt, TryFutureExt,
-};
-use tokio::task::{JoinError, JoinSet};
+use tokio::{sync::Mutex, task::JoinSet};
 use tokio_util::{sync::CancellationToken, task::AbortOnDropHandle};
 use tracing::{debug, error, warn};
 
@@ -480,17 +465,10 @@
     endpoint: Endpoint,
     protocols: Arc<ProtocolMap>,
     // `Router` needs to be `Clone + Send`, and we need to `task.await` in its `shutdown()` impl.
-    // So we need
-    // - `Shared` so we can `task.await` from all `Node` clones
-    // - `MapErr` to map the `JoinError` to a `String`, because `JoinError` is `!Clone`
-    // - `AbortOnDropHandle` to make sure that the `task` is cancelled when all `Node`s are dropped
-    //   (`Shared` acts like an `Arc` around its inner future).
-    task: Shared<MapErr<AbortOnDropHandle<()>, JoinErrToStr>>,
+    task: Arc<Mutex<Option<AbortOnDropHandle<()>>>>,
     cancel_token: CancellationToken,
 }
 
-type JoinErrToStr = Box<dyn Fn(JoinError) -> String + Send + Sync + 'static>;
-
 /// Builder for creating a [`Router`] for accepting protocols.
 #[derive(Debug)]
 pub struct RouterBuilder {
@@ -609,7 +587,9 @@
         self.cancel_token.cancel();
 
         // Wait for the main task to terminate.
-        self.task.clone().await.map_err(|err| anyhow!(err))?;
+        if let Some(task) = self.task.lock().await.take() {
+            task.await?;
+        }
 
         Ok(())
     }
@@ -722,14 +702,12 @@
             join_set.shutdown().await;
         };
         let task = tokio::task::spawn(run_loop_fut);
-        let task = AbortOnDropHandle::new(task)
-            .map_err(Box::new(|e: JoinError| e.to_string()) as JoinErrToStr)
-            .shared();
+        let task = AbortOnDropHandle::new(task);
 
         Ok(Router {
             endpoint: self.endpoint,
             protocols,
-            task,
+            task: Arc::new(Mutex::new(Some(task))),
             cancel_token: cancel,
         })
     }