pub struct Response<C>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<C> Write for Response<C>where
C: Connection,
impl<C> Write for Response<C>where
C: Connection,
Source§fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
Write a buffer into this writer, returning how many bytes were written. Read more
Source§fn flush(&mut self) -> Result<(), Self::Error>
fn flush(&mut self) -> Result<(), Self::Error>
Flush this output stream, blocking until all intermediately buffered contents reach their destination.
Auto Trait Implementations§
impl<C> Freeze for Response<C>where
C: Freeze,
impl<C> RefUnwindSafe for Response<C>where
C: RefUnwindSafe,
impl<C> Send for Response<C>where
C: Send,
impl<C> Sync for Response<C>where
C: Sync,
impl<C> Unpin for Response<C>where
C: Unpin,
impl<C> UnsafeUnpin for Response<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for Response<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more