Struct Upgraded
struct Upgraded { ... }
An upgraded HTTP connection.
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: &Self) -> bool
impl Debug for Upgraded
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Freeze for Upgraded
impl From for Upgraded
fn from(inner: Upgraded) -> Self
impl RefUnwindSafe for Upgraded
impl Send for Upgraded
impl Sync for Upgraded
impl Unpin for Upgraded
impl UnsafeUnpin for Upgraded
impl UnwindSafe for Upgraded
impl<R> AsyncReadExt for Upgraded
impl<T> Any for Upgraded
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Upgraded
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Upgraded
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> ErasedDestructor for Upgraded
impl<T> From for Upgraded
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for Upgraded
impl<T> PolicyExt for Upgraded
fn and<P, B, E>(self: Self, other: P) -> And<T, P> where T: Policy<B, E>, P: Policy<B, E>fn or<P, B, E>(self: Self, other: P) -> Or<T, P> where T: Policy<B, E>, P: Policy<B, E>
impl<T> WithSubscriber for Upgraded
impl<T, U> Into for Upgraded
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Upgraded
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Upgraded
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>