Struct Upgraded

pub struct Upgraded { /* private fields */ }

An upgraded HTTP connection.

Trait Implementations

impl AsyncRead for Upgraded

fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll<Result<()>>

impl AsyncWrite for Upgraded

fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8]) -> Poll<Result<usize>>
fn poll_write_vectored(self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &[IoSlice<'_>]) -> Poll<Result<usize>>
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>
fn poll_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<()>>
fn is_write_vectored(&self) -> bool

impl Debug for Upgraded

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl From<Upgraded> for Upgraded

fn from(inner: Upgraded) -> Self

Auto Trait Implementations

impl !Freeze for Upgraded

impl !RefUnwindSafe for Upgraded

impl !Sync for Upgraded

impl !UnwindSafe for Upgraded

impl Send for Upgraded

impl Unpin for Upgraded

impl UnsafeUnpin for Upgraded

Blanket Implementations

impl<R> AsyncReadExt for Upgraded where R: AsyncRead + ?Sized,

impl<T> Any for Upgraded where T: 'static + ?Sized,

impl<T> Borrow<T> for Upgraded where T: ?Sized,

impl<T> BorrowMut<T> for Upgraded where T: ?Sized,

impl<T> From<T> for Upgraded

impl<T> Instrument for Upgraded

impl<T> PolicyExt for Upgraded where T: ?Sized,

impl<T> WithSubscriber for Upgraded

impl<T, U> Into<U> for Upgraded where U: From<T>,

impl<T, U> TryFrom<U> for Upgraded where U: Into<T>,

impl<T, U> TryInto<U> for Upgraded where U: TryFrom<T>,

impl<W> AsyncWriteExt for Upgraded where W: AsyncWrite + ?Sized,