pub struct BodyGuard;
Expand description
RequestGuard ensuring that a request has a body
Trait Implementations
sourceimpl RequestGuard for BodyGuard
impl RequestGuard for BodyGuard
fn validate(
&self,
req: &mut SyncRequest,
_res: &mut SyncResponse
) -> RequestContinuation
Auto Trait Implementations
impl RefUnwindSafe for BodyGuard
impl Send for BodyGuard
impl Sync for BodyGuard
impl Unpin for BodyGuard
impl UnwindSafe for BodyGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more