Struct std::async_iter::FromIter
source · pub struct FromIter<I> { /* private fields */ }
🔬This is a nightly-only experimental API. (
async_iter_from_iter
#81798)Expand description
从迭代器创建的异步迭代器。
这个异步迭代器是由 from_iter
函数创建的。
有关更多信息,请参见它的文档。
Trait Implementations§
source§impl<I> AsyncIterator for FromIter<I>where
I: Iterator,
impl<I> AsyncIterator for FromIter<I>where I: Iterator,
§type Item = <I as Iterator>::Item
type Item = <I as Iterator>::Item
🔬This is a nightly-only experimental API. (
async_iterator
#79024)异步迭代器产生的项的类型。
impl<I> Unpin for FromIter<I>
Auto Trait Implementations§
impl<I> RefUnwindSafe for FromIter<I>where I: RefUnwindSafe,
impl<I> Send for FromIter<I>where I: Send,
impl<I> Sync for FromIter<I>where I: Sync,
impl<I> UnwindSafe for FromIter<I>where I: UnwindSafe,
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
从拥有的值中借用。 Read more