Function hyper::body::take_full_data

source ยท
pub(crate) fn take_full_data<T: HttpBody + 'static>(
    body: &mut T,
) -> Option<T::Data>
Expand description

An optimization to try to take a full body if immediately available.

This is currently limited to only hyper::Bodys.