Skip to content

Commit 80e06e8

Browse files
author
Davide Melfi
committed
chore: moving the enum to pub(crate)
1 parent d61a1e6 commit 80e06e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lambda-runtime/src/layers/api_client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use tracing::{error, warn};
1414
/// This type is only meant for internal use in the Lambda runtime crate. It neither augments the
1515
/// inner service's request type nor its error type. However, this service returns an empty
1616
/// response `()` as the Lambda request has been completed.
17-
pub struct RuntimeApiClientService<S> {
17+
pub(crate) struct RuntimeApiClientService<S> {
1818
inner: S,
1919
client: Arc<Client>,
2020
}
@@ -78,7 +78,7 @@ where
7878
/// The type parameter `B` represents the response body type. In production this is `hyper::body::Incoming`,
7979
/// but for testing it can be any body type that implements `http_body::Body`.
8080
#[pin_project(project = RuntimeApiClientFutureProj)]
81-
pub enum RuntimeApiClientFuture<F, B> {
81+
pub(crate) enum RuntimeApiClientFuture<F, B> {
8282
/// **Invoke Phase**: Polling the inner service to build the Lambda response request.
8383
///
8484
/// Contains:

0 commit comments

Comments
 (0)