Skip to main content

to_boxed_sync

Function to_boxed_sync 

Source
pub fn to_boxed_sync<B>(body: B) -> BoxBodySync
where B: Into<Bytes>,
Expand description

Convert bytes or similar types into a BoxBodySync.