pub const N0_DNS_ENDPOINT_ORIGIN_PROD: &'static str;wasm_browser only.Expand description
The n0 address lookup DNS origin, for production.
+N0_DNS_ENDPOINT_ORIGIN_PROD
N0_DNS_ENDPOINT_ORIGIN_STAGING
pub const N0_DNS_ENDPOINT_ORIGIN_STAGING: &'static str;wasm_browser only.Expand description
The n0 address lookup DNS origin, for testing.
+N0_DNS_ENDPOINT_ORIGIN_STAGING
Trait Implementations§
Source§impl AddressLookup for DnsAddressLookup
impl AddressLookup for DnsAddressLookup
Source§fn resolve(
&self,
endpoint_id: EndpointId,
-) -> Option<BoxStream<Result<AddressLookupItem, AddressLookupError>>>
fn resolve( &self, endpoint_id: EndpointId, -) -> Option<BoxStream<Result<AddressLookupItem, AddressLookupError>>>
Source§fn publish(&self, _data: &EndpointData)
fn publish(&self, _data: &EndpointData)
EndpointData to the Address Lookup mechanism. Read moreAuto Trait Implementations§
impl Freeze for DnsAddressLookup
impl !RefUnwindSafe for DnsAddressLookup
impl Send for DnsAddressLookup
impl Sync for DnsAddressLookup
impl Unpin for DnsAddressLookup
impl !UnwindSafe for DnsAddressLookup
Blanket Implementations§
Source§impl<T> AddressLookupBuilder for Twhere
- T: AddressLookup,
impl<T> AddressLookupBuilder for Twhere
- T: AddressLookup,
Source§fn into_address_lookup(
+) -> Option<BoxStream<Result<AddressLookupItem, AddressLookupError>>>
fn into_address_lookup( +) -> Option<BoxStream<Result<AddressLookupItem, AddressLookupError>>>
Source§fn publish(&self, _data: &EndpointData)
fn publish(&self, _data: &EndpointData)
EndpointData to the Address Lookup mechanism. Read moreAuto Trait Implementations§
impl Freeze for DnsAddressLookup
impl !RefUnwindSafe for DnsAddressLookup
impl Send for DnsAddressLookup
impl Sync for DnsAddressLookup
impl Unpin for DnsAddressLookup
impl !UnwindSafe for DnsAddressLookup
Blanket Implementations§
Source§impl<T> AddressLookupBuilder for Twhere
+ T: AddressLookup,
impl<T> AddressLookupBuilder for Twhere
+ T: AddressLookup,
Source§fn into_address_lookup(
self,
_endpoint: &Endpoint,
) -> Result<impl AddressLookup, AddressLookupBuilderError>
fn into_address_lookup( self, _endpoint: &Endpoint, ) -> Result<impl AddressLookup, AddressLookupBuilderError>
AddressLookup. Read moreSource§impl<T> Any for Twhere
diff --git a/pr/3922/docs/iroh/address_lookup/enum.AddressLookupBuilderError.html b/pr/3922/docs/iroh/address_lookup/enum.AddressLookupBuilderError.html
index 74cc243dc4..50b3b6d0dc 100644
--- a/pr/3922/docs/iroh/address_lookup/enum.AddressLookupBuilderError.html
+++ b/pr/3922/docs/iroh/address_lookup/enum.AddressLookupBuilderError.html
@@ -1,4 +1,4 @@
-AddressLookupBuilderError in iroh::address_lookup - Rust AddressLookupBuilderError
#[non_exhaustive]pub enum AddressLookupBuilderError {
+AddressLookupBuilderError in iroh::address_lookup - Rust AddressLookupBuilderError
#[non_exhaustive]pub enum AddressLookupBuilderError {
User {
provenance: &'static str,
source: AnyError,
@@ -11,15 +11,15 @@
}
Expand description
AddressLookupBuilder errors
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.Implementations§
Implementations§
Trait Implementations§
Source§impl Debug for AddressLookupBuilderError
Source§impl Display for AddressLookupBuilderError
Source§impl Error for AddressLookupBuilderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<AddressLookupBuilderError> for AnyError
Source§fn from(value: AddressLookupBuilderError) -> AnyError
Converts to this type from the input type.Source§impl From<AddressLookupBuilderError> for BindError
Source§fn from(source: AddressLookupBuilderError) -> Self
Converts to this type from the input type.Source§impl From<AnyError> for AddressLookupBuilderError
Source§impl From<EndpointError> for AddressLookupBuilderError
Source§fn from(source: EndpointError) -> Self
Converts to this type from the input type.Source§impl StackError for AddressLookupBuilderError
Source§fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
Returns this error as a std error reference.Source§fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
Returns this error as a std error.Source§fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
Returns the next source in the chain, if any.Source§fn is_transparent(&self) -> bool
Returns whether this error is transparent and should be skipped in reports.Auto Trait Implementations§
§impl Freeze for AddressLookupBuilderError
§impl !RefUnwindSafe for AddressLookupBuilderError
§impl Send for AddressLookupBuilderError
§impl Sync for AddressLookupBuilderError
§impl Unpin for AddressLookupBuilderError
§impl !UnwindSafe for AddressLookupBuilderError
Blanket Implementations§
impl<T> Any for Twhere
diff --git a/pr/3922/docs/iroh/address_lookup/enum.AddressLookupBuilderError.html b/pr/3922/docs/iroh/address_lookup/enum.AddressLookupBuilderError.html
index 74cc243dc4..50b3b6d0dc 100644
--- a/pr/3922/docs/iroh/address_lookup/enum.AddressLookupBuilderError.html
+++ b/pr/3922/docs/iroh/address_lookup/enum.AddressLookupBuilderError.html
@@ -1,4 +1,4 @@
-AddressLookupBuilderError in iroh::address_lookup - Rust AddressLookupBuilderError
#[non_exhaustive]pub enum AddressLookupBuilderError {
+AddressLookupBuilderError in iroh::address_lookup - Rust AddressLookupBuilderError
#[non_exhaustive]pub enum AddressLookupBuilderError {
User {
provenance: &'static str,
source: AnyError,
@@ -11,15 +11,15 @@
}
Expand description
AddressLookupBuilder errors
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.Implementations§
Implementations§
Trait Implementations§
Source§impl Debug for AddressLookupBuilderError
Source§impl Display for AddressLookupBuilderError
Source§impl Error for AddressLookupBuilderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more1.0.0 · Source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()Source§impl From<AddressLookupBuilderError> for AnyError
Source§fn from(value: AddressLookupBuilderError) -> AnyError
Converts to this type from the input type.Source§impl From<AddressLookupBuilderError> for BindError
Source§fn from(source: AddressLookupBuilderError) -> Self
Converts to this type from the input type.Source§impl From<AnyError> for AddressLookupBuilderError
Source§impl From<EndpointError> for AddressLookupBuilderError
Source§fn from(source: EndpointError) -> Self
Converts to this type from the input type.Source§impl StackError for AddressLookupBuilderError
Source§fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
Returns this error as a std error reference.Source§fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
Returns this error as a std error.Source§fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
Returns the next source in the chain, if any.Source§fn is_transparent(&self) -> bool
Returns whether this error is transparent and should be skipped in reports.Auto Trait Implementations§
§impl Freeze for AddressLookupBuilderError
§impl !RefUnwindSafe for AddressLookupBuilderError
§impl Send for AddressLookupBuilderError
§impl Sync for AddressLookupBuilderError
§impl Unpin for AddressLookupBuilderError
§impl !UnwindSafe for AddressLookupBuilderError
Blanket Implementations§
AddressLookupBuilderError
#[non_exhaustive]pub enum AddressLookupBuilderError {
+AddressLookupBuilderError in iroh::address_lookup - Rust AddressLookupBuilderError
#[non_exhaustive]pub enum AddressLookupBuilderError {
User {
provenance: &'static str,
source: AnyError,
@@ -11,15 +11,15 @@
}
Expand description
AddressLookupBuilder errors
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.Implementations§
Implementations§
Source§impl Debug for AddressLookupBuilderError
impl Debug for AddressLookupBuilderError
Source§impl Display for AddressLookupBuilderError
impl Display for AddressLookupBuilderError
Source§impl Error for AddressLookupBuilderError
impl Error for AddressLookupBuilderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<AddressLookupBuilderError> for AnyError
impl From<AddressLookupBuilderError> for AnyError
Source§fn from(value: AddressLookupBuilderError) -> AnyError
fn from(value: AddressLookupBuilderError) -> AnyError
Source§impl From<AddressLookupBuilderError> for BindError
impl From<AddressLookupBuilderError> for BindError
Source§fn from(source: AddressLookupBuilderError) -> Self
fn from(source: AddressLookupBuilderError) -> Self
Source§impl From<AnyError> for AddressLookupBuilderError
impl From<AnyError> for AddressLookupBuilderError
Source§impl From<EndpointError> for AddressLookupBuilderError
impl From<EndpointError> for AddressLookupBuilderError
Source§fn from(source: EndpointError) -> Self
fn from(source: EndpointError) -> Self
Source§impl StackError for AddressLookupBuilderError
impl StackError for AddressLookupBuilderError
Source§fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
Source§fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
Source§fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
Source§fn is_transparent(&self) -> bool
fn is_transparent(&self) -> bool
impl Freeze for AddressLookupBuilderError
impl !RefUnwindSafe for AddressLookupBuilderError
impl Send for AddressLookupBuilderError
impl Sync for AddressLookupBuilderError
impl Unpin for AddressLookupBuilderError
impl !UnwindSafe for AddressLookupBuilderError
Trait Implementations§
Source§impl Debug for AddressLookupBuilderError
impl Debug for AddressLookupBuilderError
Source§impl Display for AddressLookupBuilderError
impl Display for AddressLookupBuilderError
Source§impl Error for AddressLookupBuilderError
impl Error for AddressLookupBuilderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<AddressLookupBuilderError> for AnyError
impl From<AddressLookupBuilderError> for AnyError
Source§fn from(value: AddressLookupBuilderError) -> AnyError
fn from(value: AddressLookupBuilderError) -> AnyError
Source§impl From<AddressLookupBuilderError> for BindError
impl From<AddressLookupBuilderError> for BindError
Source§fn from(source: AddressLookupBuilderError) -> Self
fn from(source: AddressLookupBuilderError) -> Self
Source§impl From<AnyError> for AddressLookupBuilderError
impl From<AnyError> for AddressLookupBuilderError
Source§impl From<EndpointError> for AddressLookupBuilderError
impl From<EndpointError> for AddressLookupBuilderError
Source§fn from(source: EndpointError) -> Self
fn from(source: EndpointError) -> Self
Source§impl StackError for AddressLookupBuilderError
impl StackError for AddressLookupBuilderError
Source§fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
Source§fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
fn into_std(self: Box<Self>) -> Box<dyn Error + Send + Sync>
Source§fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
Source§fn is_transparent(&self) -> bool
fn is_transparent(&self) -> bool
Auto Trait Implementations§
impl Freeze for AddressLookupBuilderError
impl !RefUnwindSafe for AddressLookupBuilderError
impl Send for AddressLookupBuilderError
impl Sync for AddressLookupBuilderError
impl Unpin for AddressLookupBuilderError
impl !UnwindSafe for AddressLookupBuilderError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
fn implicit(
diff --git a/pr/3922/docs/iroh/address_lookup/enum.Error.html b/pr/3922/docs/iroh/address_lookup/enum.Error.html
index ee7468bd82..3aff747c37 100644
--- a/pr/3922/docs/iroh/address_lookup/enum.Error.html
+++ b/pr/3922/docs/iroh/address_lookup/enum.Error.html
@@ -1,4 +1,4 @@
-Error in iroh::address_lookup - Rust Error
#[non_exhaustive]pub enum Error {
+Error in iroh::address_lookup - Rust Error
#[non_exhaustive]pub enum Error {
NoServiceConfigured {
meta: Meta,
},
@@ -14,19 +14,19 @@
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.§NoServiceConfigured
Fields
§meta: MetaCaptured call-site metadata
§NoResults
Fields
§meta: MetaCaptured call-site metadata
§User
Implementations§
Error
#[non_exhaustive]pub enum Error {
+Error in iroh::address_lookup - Rust Error
#[non_exhaustive]pub enum Error {
NoServiceConfigured {
meta: Meta,
},
@@ -14,19 +14,19 @@
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.§NoServiceConfigured
Fields
§meta: MetaCaptured call-site metadata
§NoResults
Fields
§meta: MetaCaptured call-site metadata
§User
Implementations§
Implementations§
Sourcepub fn from_err_any(
provenance: &'static str,
source: impl Into<AnyError>,
) -> Self
pub fn from_err_any( provenance: &'static str, source: impl Into<AnyError>, ) -> Self
Creates a new user error from an arbitrary error type that can be converted into [AnyError].