Struct tokio_stream::Timeout
source · [−]pub struct Timeout<S> { /* private fields */ }
Expand description
Stream returned by the timeout
method.
Trait Implementations
sourceimpl<S: Stream> Stream for Timeout<S>
impl<S: Stream> Stream for Timeout<S>
impl<'__pin, S> Unpin for Timeout<S>where
__Origin<'__pin, S>: Unpin,
Auto Trait Implementations
impl<S> !RefUnwindSafe for Timeout<S>
impl<S> Send for Timeout<S>where
S: Send,
impl<S> Sync for Timeout<S>where
S: Sync,
impl<S> !UnwindSafe for Timeout<S>
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more