[−][src]Trait conjure_runtime::blocking::Body
A synchronous request body.
Required methods
pub fn content_length(&self) -> Option<u64>[src]
Returns the length of the body if known.
pub fn content_type(&self) -> HeaderValue[src]
Returns the content type of the body.
pub fn write(&mut self, w: &mut BodyWriter) -> Result<(), Error>[src]
Writes the body data out.
pub fn reset(&mut self) -> bool[src]
Resets the body to its start.
Returns true iff the body was successfully reset.
Requests with non-resettable bodies cannot be retried.
Provided methods
pub fn full_body(&self) -> Option<Bytes>[src]
Returns the entire body if it is fully buffered.
write will only be called if this method returns None.
Implementations on Foreign Types
impl<T: ?Sized> Body for Box<T> where
T: Body, [src]
T: Body,