Struct tokio_stream::Once
source · [−]pub struct Once<T> { /* private fields */ }
Expand description
Stream for the once
function.
Trait Implementations
sourceimpl<T> Stream for Once<T>
impl<T> Stream for Once<T>
type Item = T
type Item = T
Values yielded by the stream.
impl<I> Unpin for Once<I>
Auto Trait Implementations
impl<T> RefUnwindSafe for Once<T>where
T: RefUnwindSafe,
impl<T> Send for Once<T>where
T: Send,
impl<T> Sync for Once<T>where
T: Sync,
impl<T> UnwindSafe for Once<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