From dbeef82ccdc3e90a337e83dbe80667bcd6816efb Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Fri, 29 Nov 2024 16:07:23 +0000 Subject: [PATCH] deploy: cabc5011770175a8fe5d58dc1adc93eb52500334 --- pr/2980/docs/iroh/index.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/2980/docs/src/iroh/lib.rs.html | 4 ++-- 33 files changed, 78 insertions(+), 78 deletions(-) diff --git a/pr/2980/docs/iroh/index.html b/pr/2980/docs/iroh/index.html index daff778fcc..18ebf78ea8 100644 --- a/pr/2980/docs/iroh/index.html +++ b/pr/2980/docs/iroh/index.html @@ -132,7 +132,7 @@ connecting using only the < // Gracefully close the connection and endpoint. conn.close(1u8.into(), b"done"); - ep.close(0u8.into(), b"ep closing").await?; + ep.close().await?; println!("Client closed"); Ok(()) } @@ -158,7 +158,7 @@ connecting using only the < // Wait for the client to close the connection and gracefully close the endpoint. conn.closed().await; - ep.close(0u8.into(), b"ep closing").await?; + ep.close().await?; Ok(()) }

Please see the examples directory for more nuanced examples.

diff --git a/pr/2980/docs/iroh_node_util/cli/net/enum.NetCommands.html b/pr/2980/docs/iroh_node_util/cli/net/enum.NetCommands.html index 46c7f8fa30..3107bbcc53 100644 --- a/pr/2980/docs/iroh_node_util/cli/net/enum.NetCommands.html +++ b/pr/2980/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/2980/docs/iroh_node_util/cli/node/enum.NodeCommands.html b/pr/2980/docs/iroh_node_util/cli/node/enum.NodeCommands.html index 983a28aab8..1f5e5275b1 100644 --- a/pr/2980/docs/iroh_node_util/cli/node/enum.NodeCommands.html +++ b/pr/2980/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/2980/docs/iroh_node_util/logging/enum.Rotation.html b/pr/2980/docs/iroh_node_util/logging/enum.Rotation.html index b7d039b945..f2a70ac0f9 100644 --- a/pr/2980/docs/iroh_node_util/logging/enum.Rotation.html +++ b/pr/2980/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/2980/docs/iroh_node_util/logging/struct.EnvFilter.html b/pr/2980/docs/iroh_node_util/logging/struct.EnvFilter.html index 9c67fd2eab..f57f1be514 100644 --- a/pr/2980/docs/iroh_node_util/logging/struct.EnvFilter.html +++ b/pr/2980/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/2980/docs/iroh_node_util/logging/struct.FileLogging.html b/pr/2980/docs/iroh_node_util/logging/struct.FileLogging.html index 26bba7dcb3..ffd80bb18b 100644 --- a/pr/2980/docs/iroh_node_util/logging/struct.FileLogging.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/client/net/struct.Client.html b/pr/2980/docs/iroh_node_util/rpc/client/net/struct.Client.html index d6a366f958..ce0519bbb6 100644 --- a/pr/2980/docs/iroh_node_util/rpc/client/net/struct.Client.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/client/net/struct.NodeStatus.html b/pr/2980/docs/iroh_node_util/rpc/client/net/struct.NodeStatus.html index 4a6fcee808..37e8812b10 100644 --- a/pr/2980/docs/iroh_node_util/rpc/client/net/struct.NodeStatus.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/client/node/struct.Client.html b/pr/2980/docs/iroh_node_util/rpc/client/node/struct.Client.html index c821b97d88..183a6f586a 100644 --- a/pr/2980/docs/iroh_node_util/rpc/client/node/struct.Client.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/enum.Request.html b/pr/2980/docs/iroh_node_util/rpc/proto/enum.Request.html index e794088fbd..185116ada5 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/enum.Request.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/enum.Response.html b/pr/2980/docs/iroh_node_util/rpc/proto/enum.Response.html index 4f7825a491..db405984ac 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/enum.Response.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/enum.Request.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/enum.Request.html index ea739f886c..8c4e1a4992 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/enum.Request.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/enum.Response.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/enum.Response.html index c85fc3480a..1bd7f238aa 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/enum.Response.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/struct.AddAddrRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.AddAddrRequest.html index 82e38c1bd5..a9b2557d8e 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.AddAddrRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/struct.AddrRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.AddrRequest.html index 2b9f1c7695..4d7e9b5f5b 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.AddrRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/struct.IdRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.IdRequest.html index 77f7c9c0cb..5aac9d4914 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.IdRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/struct.NodeWatchRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.NodeWatchRequest.html index 4c374b5518..1a61ec9d74 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.NodeWatchRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/struct.RelayRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RelayRequest.html index 7da1a2a626..8c83277514 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RelayRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoRequest.html index 2b948f1329..6ec6fecc4c 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoResponse.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoResponse.html index d7cc099d61..4461f58ccf 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfoResponse.html +++ b/pr/2980/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§

§

impl Freeze for RemoteInfoResponse

§

impl RefUnwindSafe for RemoteInfoResponse

§

impl Send for RemoteInfoResponse

§

impl Sync for RemoteInfoResponse

§

impl Unpin for RemoteInfoResponse

§

impl UnwindSafe for RemoteInfoResponse

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/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterRequest.html index 9ddb491dc5..740326b961 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterResponse.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterResponse.html index fc8bd5f434..99375d905a 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.RemoteInfosIterResponse.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/net/struct.WatchResponse.html b/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.WatchResponse.html index e67d094b3d..59ba129662 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/net/struct.WatchResponse.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/node/enum.Request.html b/pr/2980/docs/iroh_node_util/rpc/proto/node/enum.Request.html index 29972db165..a5064a62be 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/node/enum.Request.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/node/enum.Response.html b/pr/2980/docs/iroh_node_util/rpc/proto/node/enum.Response.html index e094ec32e6..b98ad2c3d3 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/node/enum.Response.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/node/struct.CounterStats.html b/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.CounterStats.html index a5dff1f2ac..778e88077e 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.CounterStats.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/node/struct.ShutdownRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.ShutdownRequest.html index 4242d2cd9e..c3ee5a6778 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.ShutdownRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/node/struct.StatsRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.StatsRequest.html index 00e4a51933..298ee03428 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.StatsRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/node/struct.StatsResponse.html b/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.StatsResponse.html index 079d281296..9ffc6aedf2 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.StatsResponse.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/node/struct.StatusRequest.html b/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.StatusRequest.html index fd37d11f66..42345d0e9d 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/node/struct.StatusRequest.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/proto/struct.RpcService.html b/pr/2980/docs/iroh_node_util/rpc/proto/struct.RpcService.html index ff7e476fdd..c677c48dad 100644 --- a/pr/2980/docs/iroh_node_util/rpc/proto/struct.RpcService.html +++ b/pr/2980/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/2980/docs/iroh_node_util/rpc/server/trait.AbstractNode.html b/pr/2980/docs/iroh_node_util/rpc/server/trait.AbstractNode.html index 6e29371a7b..d099580ca3 100644 --- a/pr/2980/docs/iroh_node_util/rpc/server/trait.AbstractNode.html +++ b/pr/2980/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/2980/docs/src/iroh/lib.rs.html b/pr/2980/docs/src/iroh/lib.rs.html index d1b26fbc99..0716a3791e 100644 --- a/pr/2980/docs/src/iroh/lib.rs.html +++ b/pr/2980/docs/src/iroh/lib.rs.html @@ -433,7 +433,7 @@ //! //! // Gracefully close the connection and endpoint. //! conn.close(1u8.into(), b"done"); -//! ep.close(0u8.into(), b"ep closing").await?; +//! ep.close().await?; //! println!("Client closed"); //! Ok(()) //! } @@ -462,7 +462,7 @@ //! //! // Wait for the client to close the connection and gracefully close the endpoint. //! conn.closed().await; -//! ep.close(0u8.into(), b"ep closing").await?; +//! ep.close().await?; //! Ok(()) //! } //! ```