pub const ENV_FORCE_STAGING_RELAYS: &str = "IROH_FORCE_STAGING_RELAYS";Expand description
Environment variable to force the use of staging relays.
+ENV_FORCE_STAGING_RELAYS
ConnectError
#[non_exhaustive]pub enum ConnectError {
+ConnectError in iroh::endpoint - Rust ConnectError
#[non_exhaustive]pub enum ConnectError {
Connect {
source: ConnectWithOptsError,
meta: Meta,
@@ -14,7 +14,7 @@
}
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.Trait Implementations§
Source§impl Debug for ConnectError
Source§impl Display for ConnectError
Source§impl Error for ConnectError
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<ConnectError> for AnyError
Source§fn from(value: ConnectError) -> AnyError
Converts to this type from the input type.Source§impl From<ConnectWithOptsError> for ConnectError
Source§fn from(source: ConnectWithOptsError) -> Self
Converts to this type from the input type.Source§impl From<ConnectingError> for ConnectError
Source§fn from(source: ConnectingError) -> Self
Converts to this type from the input type.Source§impl From<ConnectionError> for ConnectError
Source§fn from(source: ConnectionError) -> Self
Converts to this type from the input type.Source§impl StackError for ConnectError
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 ConnectError
§impl !RefUnwindSafe for ConnectError
§impl Send for ConnectError
§impl Sync for ConnectError
§impl Unpin for ConnectError
§impl !UnwindSafe for ConnectError
Blanket Implementations§
Trait Implementations§
Source§impl Debug for ConnectError
impl Debug for ConnectError
Source§impl Display for ConnectError
impl Display for ConnectError
Source§impl Error for ConnectError
impl Error for ConnectError
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<ConnectError> for AnyError
impl From<ConnectError> for AnyError
Source§fn from(value: ConnectError) -> AnyError
fn from(value: ConnectError) -> AnyError
Source§impl From<ConnectWithOptsError> for ConnectError
impl From<ConnectWithOptsError> for ConnectError
Source§fn from(source: ConnectWithOptsError) -> Self
fn from(source: ConnectWithOptsError) -> Self
Source§impl From<ConnectingError> for ConnectError
impl From<ConnectingError> for ConnectError
Source§fn from(source: ConnectingError) -> Self
fn from(source: ConnectingError) -> Self
Source§impl From<ConnectionError> for ConnectError
impl From<ConnectionError> for ConnectError
Source§fn from(source: ConnectionError) -> Self
fn from(source: ConnectionError) -> Self
Source§impl StackError for ConnectError
impl StackError for ConnectError
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 ConnectError
impl !RefUnwindSafe for ConnectError
impl Send for ConnectError
impl Sync for ConnectError
impl Unpin for ConnectError
impl !UnwindSafe for ConnectError
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/4419/docs/iroh/endpoint/enum.ConnectWithOptsError.html b/pr/4419/docs/iroh/endpoint/enum.ConnectWithOptsError.html
index 7c36f2edb9..1a54dee6b1 100644
--- a/pr/4419/docs/iroh/endpoint/enum.ConnectWithOptsError.html
+++ b/pr/4419/docs/iroh/endpoint/enum.ConnectWithOptsError.html
@@ -1,4 +1,4 @@
-ConnectWithOptsError in iroh::endpoint - Rust ConnectWithOptsError
#[non_exhaustive]pub enum ConnectWithOptsError {
+ConnectWithOptsError in iroh::endpoint - Rust ConnectWithOptsError
#[non_exhaustive]pub enum ConnectWithOptsError {
SelfConnect {
meta: Meta,
},
@@ -27,7 +27,7 @@
§meta: MetaCaptured call-site metadata
ConnectWithOptsError
#[non_exhaustive]pub enum ConnectWithOptsError {
+ConnectWithOptsError in iroh::endpoint - Rust ConnectWithOptsError
#[non_exhaustive]pub enum ConnectWithOptsError {
SelfConnect {
meta: Meta,
},
@@ -27,7 +27,7 @@
meta: MetaCaptured call-site metadata
LocallyRejected
Fields
meta: MetaCaptured call-site metadata
EndpointClosed
Fields
meta: MetaCaptured call-site metadata
-