Added
- New method on
MessageBody
trait,try_into_bytes
, with default implementation, for optimizations on body types that complete in exactly one poll. Replacesis_complete_body
andtake_complete_body
. #2522
Changed
- Rename trait
IntoHeaderPair => TryIntoHeaderPair
. #2510 - Rename
TryIntoHeaderPair::{try_into_header_pair => try_into_pair}
. #2510 - Rename trait
IntoHeaderValue => TryIntoHeaderValue
. #2510
Removed
MessageBody::{is_complete_body,take_complete_body}
. #2522