Skip to content

Add inner (and maybe also into_inner) methods to Full. #154

@plugwash

Description

@plugwash

I was porting some code from the http 0.2 stack to the http 1 stack and for bodies stored in memory, I largely replaced the "Body" type by "Full"

However one wrinke I ran into was there does not seem to be a good way to turn a Full<Bytes> back into it's contents without using "await", this in turn ended up with marking several functions as async when they were not previously.

Is there any chance of adding Inner or Into-inner methods to Full to allow accessing the inner value?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions