You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: grpc_timeout.rs
    path of file: ./repos/volo/volo-grpc/src/layer
    
    the code of the file until where you have to start completion: use std::{
    future::Future,
    pin::Pin,
    task::{Context, Poll},
    time::Duration,
};

use http::{HeaderMap, HeaderValue};
use motore::{layer::Layer, Service};
use pin_project::pin_project;
use tokio::time::Sleep;

use crate::status::Status;

/// A [`Service`] that parse 'grpc-timeout' header and choose the minimum value compared with
/// server's configured timeout to set the request.
#[de
    
    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
        let this = self.project();
        if let Poll::Ready(result) = this.inner.poll(cx) {
            return Poll::Ready(result);
        }

        if let OptionPinProj::Some(sleep) = this.sleep.project() {
            futures_util::ready!(sleep.poll(cx));
            let err = Status::deadline_exceeded("timeout");
            return Poll::Ready(Err(err));
        }

        Poll::Pending
    }