Struct conjure_runtime::blocking::BodyWriter [−][src]
pub struct BodyWriter { /* fields omitted */ }The blocking writer passed to Body::write.
Implementations
impl BodyWriter[src]
impl BodyWriter[src]pub fn write_bytes(&mut self, buf: Bytes) -> Result<()>[src]
Writes a block of body bytes.
Compared to the Write implementation, this method avoids some copies if the caller already has the body in
Bytes objects.
Trait Implementations
impl Write for BodyWriter[src]
impl Write for BodyWriter[src]fn write(&mut self, buf: &[u8]) -> Result<usize>[src]
fn flush(&mut self) -> Result<()>[src]
pub fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>1.36.0[src]
pub fn is_write_vectored(&self) -> bool[src]
pub fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>1.0.0[src]
pub fn write_all_vectored(
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>[src]
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
pub fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>1.0.0[src]
pub fn by_ref(&mut self) -> &mut Self1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for BodyWriter
impl !RefUnwindSafe for BodyWriterimpl Send for BodyWriter
impl Send for BodyWriterimpl Sync for BodyWriter
impl Sync for BodyWriterimpl Unpin for BodyWriter
impl Unpin for BodyWriterimpl !UnwindSafe for BodyWriter
impl !UnwindSafe for BodyWriterBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,