Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
archeoss committed Nov 16, 2023
1 parent bb44dad commit 532bd56
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions backend/src/connector/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,27 +427,3 @@ impl From<Response<Body>> for APIError {
Self::InvalidStatusCode(code)
}
}
/// A client that implements the API by making HTTP calls out to a server.
#[derive(Clone)]
pub struct RefClient<'a, S, C, Cr, I>
where
S: Service<(Request<Body>, C), Response = Response<Body>> + Clone + Sync + Send + 'static,
S::Future: Send + 'static,
S::Error: Into<super::api::ServiceError> + std::fmt::Display,
C: Clone + Send + Sync + 'static,
{
/// Inner service
client_service: &'a S,

/// Base path of the API
base_path: &'a String,

/// Context Marker
con_marker: PhantomData<fn(C)>,

/// Credentials Marker
cred_marker: PhantomData<fn(Cr)>,

/// Indices Marker
indices_marker: PhantomData<fn(I)>,
}

0 comments on commit 532bd56

Please sign in to comment.