pub trait RequestContentDigest {
    type Error;

    // Required method
    fn set_content_digest<'life0, 'async_trait>(
        self,
        cd_type: &'life0 ContentDigestType
    ) -> Pin<Box<dyn Future<Output = Result<Request<Full<Bytes>>, Self::Error>> + Send + 'async_trait>>
       where Self: Sized + 'async_trait,
             'life0: 'async_trait;
}
Expand description

A trait to set the http content digest in request in base64

Required Associated Types§

Required Methods§

source

fn set_content_digest<'life0, 'async_trait>( self, cd_type: &'life0 ContentDigestType ) -> Pin<Box<dyn Future<Output = Result<Request<Full<Bytes>>, Self::Error>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

source§

impl<B> RequestContentDigest for Request<B>
where B: Body + Send, <B as Body>::Data: Send,

§

type Error = Error

source§

fn set_content_digest<'life0, 'async_trait>( self, cd_type: &'life0 ContentDigestType ) -> Pin<Box<dyn Future<Output = Result<Request<Full<Bytes>>, Self::Error>> + Send + 'async_trait>>
where Self: Sized + 'async_trait, 'life0: 'async_trait,

Implementors§