Struct IntoIncoming

struct IntoIncoming { ... }

An iterator that infinitely accepts connections on a TcpListener.

This struct is created by the TcpListener::into_incoming method. See its documentation for more.

Implementations

impl Debug for IntoIncoming

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

impl Freeze for IntoIncoming

impl FusedIterator for IntoIncoming

impl Iterator for IntoIncoming

fn next(self: &mut Self) -> Option<Result<TcpStream>>

impl RefUnwindSafe for IntoIncoming

impl Send for IntoIncoming

impl Sync for IntoIncoming

impl Unpin for IntoIncoming

impl UnsafeUnpin for IntoIncoming

impl UnwindSafe for IntoIncoming

impl<I> IntoIterator for IntoIncoming

fn into_iter(self: Self) -> I

impl<T> Any for IntoIncoming

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IntoIncoming

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IntoIncoming

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for IntoIncoming

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for IntoIncoming

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for IntoIncoming

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for IntoIncoming

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>