#[non_exhaustive]pub enum McpRemoteToolBuildError {
Show 26 variants
InvalidRemoteToolName,
RequiredIdempotencyKeyUnsupported,
ProgressUnsupported,
InputSchemaUnavailable,
OutputSchemaUnavailable,
Endpoint(ProviderEndpointError),
HttpClient,
Authorization(McpAuthorizationError),
AuthorizationState,
StartupTimeout,
DiscoveryProtocol,
MissingPeerInfo,
ProtocolVersionMismatch,
ToolsCapabilityUnavailable,
ServerIdentityUnavailable,
ServerIdentityMismatch,
ToolCatalogProtocol,
ToolCatalogTooLarge,
ToolCatalogPageLimit,
InvalidPagination,
DuplicateRemoteTool,
RemoteToolUnavailable,
RemoteSchemaInvalid,
InputSchemaMismatch,
RemoteOutputSchemaUnavailable,
OutputSchemaMismatch,
}Expand description
Closed failure while constructing an exact MCP remote-tool binding.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidRemoteToolName
The configured remote tool name was not a bounded printable value.
RequiredIdempotencyKeyUnsupported
Generic MCP cannot inject StateKnot’s durable idempotency key safely.
ProgressUnsupported
This adapter version does not bridge MCP progress into the durable sink.
The exact local input schema was absent.
The exact local output schema was absent.
Endpoint(ProviderEndpointError)
Endpoint normalization failed.
HttpClient
The bounded, no-redirect HTTP client could not be built.
Authorization(McpAuthorizationError)
Startup authorization was unavailable or denied.
AuthorizationState
Shared authorization state could not be installed.
StartupTimeout
The complete discovery deadline elapsed.
DiscoveryProtocol
server/discover failed or returned an unsupported shape.
MissingPeerInfo
Discovery did not retain peer information.
ProtocolVersionMismatch
The negotiated version was not exactly 2026-07-28.
The server did not advertise tools.
Modern discovery omitted implementation identity.
ServerIdentityMismatch
The discovered implementation identity drifted.
ToolCatalogProtocol
A tools/list exchange failed or omitted required modern fields.
ToolCatalogTooLarge
Catalog entries exceeded the configured bound.
ToolCatalogPageLimit
Catalog pagination did not terminate within its bound.
InvalidPagination
A cursor was empty or repeated.
DuplicateRemoteTool
A tool name appeared more than once.
The exact configured tool was not present.
RemoteSchemaInvalid
Remote schema canonicalization failed.
InputSchemaMismatch
The remote input schema differed from the local pin.
The remote tool omitted an output schema.
OutputSchemaMismatch
The remote output schema differed from the local pin.
Trait Implementations§
Source§impl Clone for McpRemoteToolBuildError
impl Clone for McpRemoteToolBuildError
impl Copy for McpRemoteToolBuildError
Source§impl Debug for McpRemoteToolBuildError
impl Debug for McpRemoteToolBuildError
Source§impl Display for McpRemoteToolBuildError
impl Display for McpRemoteToolBuildError
impl Eq for McpRemoteToolBuildError
Source§impl Error for McpRemoteToolBuildError
impl Error for McpRemoteToolBuildError
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
use the Display impl or to_string()
Source§impl From<McpAuthorizationError> for McpRemoteToolBuildError
impl From<McpAuthorizationError> for McpRemoteToolBuildError
Source§fn from(source: McpAuthorizationError) -> Self
fn from(source: McpAuthorizationError) -> Self
Source§impl PartialEq for McpRemoteToolBuildError
impl PartialEq for McpRemoteToolBuildError
impl StructuralPartialEq for McpRemoteToolBuildError
Auto Trait Implementations§
impl Forget for McpRemoteToolBuildError
impl Freeze for McpRemoteToolBuildError
impl Move for McpRemoteToolBuildError
impl RefUnwindSafe for McpRemoteToolBuildError
impl Send for McpRemoteToolBuildError
impl Sync for McpRemoteToolBuildError
impl Unpin for McpRemoteToolBuildError
impl UnsafeUnpin for McpRemoteToolBuildError
impl UnwindSafe for McpRemoteToolBuildError
Blanket Implementations§
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request