pub struct TcpStreamGenerator { /* private fields */ }Expand description
The connections of a listener, as Handle::accept_multi makes them.
Implementations§
Source§impl TcpStreamGenerator
impl TcpStreamGenerator
Sourcepub fn take_error(&mut self) -> Option<Error>
pub fn take_error(&mut self) -> Option<Error>
Why the stream ended, once it has.
Trait Implementations§
Source§impl Debug for TcpStreamGenerator
impl Debug for TcpStreamGenerator
Source§impl Stream for TcpStreamGenerator
impl Stream for TcpStreamGenerator
Auto Trait Implementations§
impl !Freeze for TcpStreamGenerator
impl !RefUnwindSafe for TcpStreamGenerator
impl !UnwindSafe for TcpStreamGenerator
impl Send for TcpStreamGenerator
impl Sync for TcpStreamGenerator
impl Unpin for TcpStreamGenerator
impl UnsafeUnpin for TcpStreamGenerator
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