Struct conjure_runtime::BytesBody [−][src]
pub struct BytesBody { /* fields omitted */ }Expand description
A simple type implementing Body which consists of a byte buffer and a content type.
It reports its content length and is resettable.
Implementations
Trait Implementations
Returns the length of the body if known.
Returns the content type of the body.
Writes the body data out.
Auto Trait Implementations
impl RefUnwindSafe for BytesBody
impl UnwindSafe for BytesBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more