Skip to content

Commit cb20798

Browse files
committed
remove dead code
1 parent 979592e commit cb20798

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

backend/src/connector/client.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -427,27 +427,3 @@ impl From<Response<Body>> for APIError {
427427
Self::InvalidStatusCode(code)
428428
}
429429
}
430-
/// A client that implements the API by making HTTP calls out to a server.
431-
#[derive(Clone)]
432-
pub struct RefClient<'a, S, C, Cr, I>
433-
where
434-
S: Service<(Request<Body>, C), Response = Response<Body>> + Clone + Sync + Send + 'static,
435-
S::Future: Send + 'static,
436-
S::Error: Into<super::api::ServiceError> + std::fmt::Display,
437-
C: Clone + Send + Sync + 'static,
438-
{
439-
/// Inner service
440-
client_service: &'a S,
441-
442-
/// Base path of the API
443-
base_path: &'a String,
444-
445-
/// Context Marker
446-
con_marker: PhantomData<fn(C)>,
447-
448-
/// Credentials Marker
449-
cred_marker: PhantomData<fn(Cr)>,
450-
451-
/// Indices Marker
452-
indices_marker: PhantomData<fn(I)>,
453-
}

0 commit comments

Comments
 (0)