From 50a9d5578625426b062d8fa0d1cd109d3eb7ed7c Mon Sep 17 00:00:00 2001 From: Galoretka Date: Tue, 16 Sep 2025 22:23:54 +0300 Subject: [PATCH] chore(common): clean RuntimeTransport derive and remove dead LockError --- crates/common/src/provider/runtime_transport.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/common/src/provider/runtime_transport.rs b/crates/common/src/provider/runtime_transport.rs index ce44ff0ef13de..6c175411640d8 100644 --- a/crates/common/src/provider/runtime_transport.rs +++ b/crates/common/src/provider/runtime_transport.rs @@ -38,10 +38,6 @@ pub enum RuntimeTransportError { #[error("Internal transport error: {0} with {1}")] TransportError(TransportError, String), - /// Failed to lock the transport - #[error("Failed to lock the transport")] - LockError, - /// Invalid URL scheme #[error("URL scheme is not supported: {0}")] BadScheme(String), @@ -70,7 +66,7 @@ pub enum RuntimeTransportError { /// either an HTTP WebSocket, or IPC transport depending on the URL used. /// Retries for rate-limiting and timeout-related errors are handled by an external /// client layer (e.g., `RetryBackoffLayer`) when configured. -#[derive(Clone, Debug, Error)] +#[derive(Clone, Debug)] pub struct RuntimeTransport { /// The inner actual transport used. inner: Arc>>,