chore: fix unnameable-types lint on blockchain-tree and rpc crates (#9757)

Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
This commit is contained in:
Tuan Tran
2024-07-25 22:31:20 +07:00
committed by GitHub
parent 22a25caed8
commit db8706e5d8
8 changed files with 28 additions and 15 deletions

View File

@ -102,9 +102,11 @@ where
}
}
/// A future representing the response of an RPC request
#[pin_project]
#[allow(missing_debug_implementations)]
pub struct ResponseFuture<F> {
/// The kind of response future, error or pending
#[pin]
kind: Kind<F>,
}

View File

@ -15,6 +15,8 @@ mod auth_client_layer;
mod auth_layer;
mod jwt_validator;
pub use auth_layer::{AuthService, ResponseFuture};
// Export alloy JWT types
pub use alloy_rpc_types_engine::{Claims, JwtError, JwtSecret};