Struct IncomingStream
struct IncomingStream<'a, L> { ... }
where
L: Listener
An incoming stream.
Used with serve and IntoMakeServiceWithConnectInfo.
Implementations
impl<L> IncomingStream<'_, L>
fn io(self: &Self) -> &<L as >::IoGet a reference to the inner IO type.
fn remote_addr(self: &Self) -> &<L as >::AddrReturns the remote address that this stream is bound to.
impl<'a, L> Debug for IncomingStream<'a, L>
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<'a, L> Freeze for IncomingStream<'a, L>
impl<'a, L> RefUnwindSafe for IncomingStream<'a, L>
impl<'a, L> Send for IncomingStream<'a, L>
impl<'a, L> Sync for IncomingStream<'a, L>
impl<'a, L> Unpin for IncomingStream<'a, L>
impl<'a, L> UnwindSafe for IncomingStream<'a, L>
impl<T> Any for IncomingStream<'a, L>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for IncomingStream<'a, L>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for IncomingStream<'a, L>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for IncomingStream<'a, L>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for IncomingStream<'a, L>
impl<T> Same for IncomingStream<'a, L>
impl<T> WithSubscriber for IncomingStream<'a, L>
impl<T, U> Into for IncomingStream<'a, L>
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 IncomingStream<'a, L>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for IncomingStream<'a, L>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for IncomingStream<'a, L>
fn vzip(self: Self) -> V