Pull the next incoming connection attempt.
Add an external (manually-known) socket address.
The [EndpointAddr] for this endpoint.
The local socket addresses this endpoint is bound to.
Close the endpoint.
Connect to a remote endpoint via the given ALPN.
Begin a connection attempt, returning the in-progress handle.
This endpoint's id.
Insert (or replace) a relay configuration at runtime.
True if the endpoint is closed.
Resolves once the endpoint has a usable home relay.
Look up cached information about a remote endpoint, if any.
Remove a previously-added external address.
Remove a relay configuration at runtime.
The secret key backing this endpoint's identity.
Replace the set of advertised ALPNs.
Current statistics for this endpoint.
Watch for changes to this endpoint's address.
Watch for changes to the connected relays.
StaticbindBind a new endpoint. Applies the n0 preset, then the given options.
For a custom preset use [Endpoint::builder].
Optionaloptions: EndpointOptionsOptionalrelayMode: RelayModeStaticbuilderCreate an endpoint builder (starts empty — apply a preset).
An iroh endpoint.