pub enum ServerExtensionConfigurationError {
AlreadyInstalled,
FinalTasksAlreadyInstalled,
OfficialMcpAppsAlreadyInstalled,
ConflictingServerMetadata(String),
UnregisteredAdvertisedExtension(String),
Registry(ExtensionRegistryError),
Handler(ExtensionHandlerRegistrationError),
ResolverPoisoned,
}Expand description
Failure while installing the server-owned extension registry.
Variants§
AlreadyInstalled
A builder accepts exactly one caller-supplied extension registry.
FinalTasksAlreadyInstalled
Final Tasks was configured more than once for the same server.
OfficialMcpAppsAlreadyInstalled
Official MCP Apps was configured more than once for the same server.
ConflictingServerMetadata(String)
Caller discovery contradicts descriptor-bound server metadata.
UnregisteredAdvertisedExtension(String)
Discovery attempted to advertise an identifier absent from the registry.
Registry(ExtensionRegistryError)
The descriptor registry could not be frozen into a canonical receipt.
Handler(ExtensionHandlerRegistrationError)
The server could not bind a typed final Tasks handler.
ResolverPoisoned
Builder-time resolver composition found a poisoned resolver lock.
Trait Implementations§
Source§impl Error for ServerExtensionConfigurationError
impl Error for ServerExtensionConfigurationError
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 ServerExtensionConfigurationError
impl RefUnwindSafe for ServerExtensionConfigurationError
impl Send for ServerExtensionConfigurationError
impl Sync for ServerExtensionConfigurationError
impl Unpin for ServerExtensionConfigurationError
impl UnsafeUnpin for ServerExtensionConfigurationError
impl UnwindSafe for ServerExtensionConfigurationError
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).