pub enum ServerExtensionNegotiationError {
NotConfigured,
ResolverPoisoned,
Protocol(ExtensionNegotiationError),
}Expand description
Failure while deriving a current-exchange extension capability set.
Variants§
NotConfigured
This server has no extension registry installed.
ResolverPoisoned
The installed resolver lock was poisoned by an earlier caller panic.
Protocol(ExtensionNegotiationError)
The frozen protocol registry rejected the current peer settings.
Trait Implementations§
Source§impl Error for ServerExtensionNegotiationError
impl Error for ServerExtensionNegotiationError
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()
Auto Trait Implementations§
impl Freeze for ServerExtensionNegotiationError
impl RefUnwindSafe for ServerExtensionNegotiationError
impl Send for ServerExtensionNegotiationError
impl Sync for ServerExtensionNegotiationError
impl Unpin for ServerExtensionNegotiationError
impl UnsafeUnpin for ServerExtensionNegotiationError
impl UnwindSafe for ServerExtensionNegotiationError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).