[][src]Struct darpi_middleware::body_size_limit

pub struct body_size_limit;

Implementations

impl body_size_limit[src]

pub async fn body_size_limit(
    b: &Body,
    size: Expect<u64>
) -> Result<(), PayloadError>
[src]

pub async fn call_Request<T>(
    p: &RequestParts,
    T1: Expect<u64>,
    module: Arc<T>,
    b: &Body
) -> Result<(), PayloadError>
[src]

pub async fn call_Response<T>(
    p: &Response<Body>,
    T1: Expect<u64>,
    module: Arc<T>
) -> Result<(), PayloadError>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.