[−][src]Struct darpi_middleware::body_size_limit
Implementations
impl body_size_limit
[src]
pub async fn body_size_limit(
b: &Body,
size: Expect<u64>
) -> Result<(), PayloadError>
[src]
b: &Body,
size: Expect<u64>
) -> Result<(), PayloadError>
pub async fn call_Request<T>(
p: &RequestParts,
T1: Expect<u64>,
module: Arc<T>,
b: &Body
) -> Result<(), PayloadError>
[src]
p: &RequestParts,
T1: Expect<u64>,
module: Arc<T>,
b: &Body
) -> Result<(), PayloadError>
pub async fn call_Response<T>(
p: &Response<Body>,
T1: Expect<u64>,
module: Arc<T>
) -> Result<(), PayloadError>
[src]
p: &Response<Body>,
T1: Expect<u64>,
module: Arc<T>
) -> Result<(), PayloadError>
Auto Trait Implementations
impl RefUnwindSafe for body_size_limit
[src]
impl Send for body_size_limit
[src]
impl Sync for body_size_limit
[src]
impl Unpin for body_size_limit
[src]
impl UnwindSafe for body_size_limit
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,