Files
async_std
collections
binary_heap
btree_map
btree_set
hash_map
hash_set
linked_list
vec_deque
fs
canonicalize.rscopy.rscreate_dir.rscreate_dir_all.rsdir_builder.rsdir_entry.rsfile.rsfile_type.rshard_link.rsmetadata.rsmod.rsopen_options.rspermissions.rsread.rsread_dir.rsread_link.rsread_to_string.rsremove_dir.rsremove_dir_all.rsremove_file.rsrename.rsset_permissions.rssymlink_metadata.rswrite.rs
future
io
buf_read
read
seek
write
net
option
os
path
pin
process
result
rt
stream
double_ended_stream
stream
all.rsany.rschain.rscloned.rscmp.rscopied.rscount.rscycle.rsdelay.rsenumerate.rseq.rsfilter.rsfilter_map.rsfind.rsfind_map.rsflat_map.rsflatten.rsfold.rsfor_each.rsfuse.rsge.rsgt.rsinspect.rslast.rsle.rslt.rsmap.rsmax.rsmax_by.rsmax_by_key.rsmerge.rsmin.rsmin_by.rsmin_by_key.rsmod.rsne.rsnext.rsnth.rspartial_cmp.rspartition.rsposition.rsscan.rsskip.rsskip_while.rsstep_by.rstake.rstake_while.rsthrottle.rstimeout.rstry_fold.rstry_for_each.rsunzip.rszip.rs
string
sync
task
unit
vec
>
1 2 3 4 5 6 7 8 9 10 11 12 13
use std::pin::Pin; use crate::prelude::*; use crate::stream::{FromStream, IntoStream}; impl FromStream<()> for () { #[inline] fn from_stream<'a, S: IntoStream<Item = ()> + 'a>( stream: S, ) -> Pin<Box<dyn Future<Output = Self> + 'a>> { Box::pin(stream.into_stream().for_each(drop)) } }