#[non_exhaustive]pub enum ConnectWithOptsError {
SelfConnect {
meta: Meta,
},
NoAddress {
source: AddressLookupFailed,
meta: Meta,
},
Noq {
source: QuicConnectError,
meta: Meta,
},
InternalConsistencyError {
source: RemoteStateActorStoppedError,
meta: Meta,
},
LocallyRejected {
meta: Meta,
},
EndpointClosed {
meta: Meta,
},
InvalidAlpn {
meta: Meta,
},
}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.
SelfConnect
Fields
§
meta: MetaCaptured call-site metadata
NoAddress
Noq
InternalConsistencyError
Fields
§
source: RemoteStateActorStoppedErrorPrivate source type, cannot be created publicly.
§
meta: MetaCaptured call-site metadata
LocallyRejected
Fields
§
meta: MetaCaptured call-site metadata
EndpointClosed
Fields
§
meta: MetaCaptured call-site metadata
InvalidAlpn
Fields
§
meta: MetaCaptured call-site metadata
Trait Implementations§
Source§impl Debug for ConnectWithOptsError
impl Debug for ConnectWithOptsError
Source§impl Display for ConnectWithOptsError
impl Display for ConnectWithOptsError
Source§impl Error for ConnectWithOptsError
impl Error for ConnectWithOptsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AddressLookupFailed> for ConnectWithOptsError
impl From<AddressLookupFailed> for ConnectWithOptsError
Source§fn from(source: AddressLookupFailed) -> Self
fn from(source: AddressLookupFailed) -> Self
Converts to this type from the input type.
Source§impl From<ConnectError> for ConnectWithOptsError
impl From<ConnectError> for ConnectWithOptsError
Source§fn from(source: QuicConnectError) -> Self
fn from(source: QuicConnectError) -> Self
Converts to this type from the input type.
Source§impl From<ConnectWithOptsError> for AnyError
impl From<ConnectWithOptsError> for AnyError
Source§fn from(value: ConnectWithOptsError) -> AnyError
fn from(value: ConnectWithOptsError) -> AnyError
Converts to this type from the input type.
Source§impl From<ConnectWithOptsError> for ConnectError
impl From<ConnectWithOptsError> for ConnectError
Source§fn from(source: ConnectWithOptsError) -> Self
fn from(source: ConnectWithOptsError) -> Self
Converts to this type from the input type.
Source§impl StackError for ConnectWithOptsError
impl StackError for ConnectWithOptsError
Source§fn as_std(&self) -> &(dyn Error + Send + Sync + 'static)
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>
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
fn fmt_message(&self, f: &mut Formatter<'_>) -> Result
Returns the next source in the chain, if any.
Source§fn is_transparent(&self) -> bool
fn is_transparent(&self) -> bool
Returns whether this error is transparent and should be skipped in reports.
Auto Trait Implementations§
impl Freeze for ConnectWithOptsError
impl !RefUnwindSafe for ConnectWithOptsError
impl Send for ConnectWithOptsError
impl Sync for ConnectWithOptsError
impl Unpin for ConnectWithOptsError
impl !UnwindSafe for ConnectWithOptsError
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,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more