Skip to content

Commit

Permalink
add PagerFuture
Browse files Browse the repository at this point in the history
  • Loading branch information
Shella committed Sep 10, 2024
1 parent 75d2e14 commit 754a643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl PagerService {
impl Service<PagerRequest> for PagerService {
type Response = PagerResponse;
type Error = PagerError;
type Future = Pin<Box<dyn Future<Output = Result<PagerResponse, PagerError>> + Send + 'static>>;
type Future = PagerFuture;

fn poll_ready(&mut self, _ctx: &mut Context<'_>) -> Poll<Result<(), PagerError>> {
Poll::Ready(Ok(()))
Expand Down

0 comments on commit 754a643

Please sign in to comment.