Struct tokio_stream::Empty
source · [−]pub struct Empty<T>(_);
Expand description
Stream for the empty
function.
Trait Implementations
sourceimpl<T> Stream for Empty<T>
impl<T> Stream for Empty<T>
type Item = T
type Item = T
Values yielded by the stream.
impl<T> Send for Empty<T>
impl<T> Sync for Empty<T>
impl<T> Unpin for Empty<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Empty<T>where
T: RefUnwindSafe,
impl<T> UnwindSafe for Empty<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more