Home
last modified time | relevance | path

Searched refs:Peekable (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/futures-util/src/stream/stream/
Dpeek.rs20 pub struct Peekable<St: Stream> {
27 impl<St: Stream> Peekable<St> { impl
65 impl<St: Stream> FusedStream for Peekable<St> { implementation
71 impl<S: Stream> Stream for Peekable<S> { implementation
96 impl<S, Item> Sink<Item> for Peekable<S> implementation
109 inner: Option<Pin<&'a mut Peekable<St>>>,
Dmod.rs126 pub use self::peek::{Peek, Peekable};
1264 fn peekable(self) -> Peekable<Self> in peekable()
1268 assert_stream::<Self::Item, _>(Peekable::new(self)) in peekable()
/external/rust/crates/peeking_take_while/src/
Dlib.rs61 use std::iter::Peekable;
69 iter: &'a mut Peekable<I>,
106 impl<'a, I> PeekableExt<'a, I> for Peekable<I> implementation
/external/rust/crates/futures/tests/
Dstream_peekable.rs5 use futures::stream::{self, Peekable, StreamExt}; in peekable()
8 let peekable: Peekable<_> = stream::iter(vec![1u8, 2, 3]).peekable(); in peekable()
Dauto_traits.rs1413 assert_impl!(Peekable<SendStream<()>>: Send);
1414 assert_not_impl!(Peekable<SendStream>: Send);
1415 assert_not_impl!(Peekable<LocalStream>: Send);
1416 assert_impl!(Peekable<SyncStream<()>>: Sync);
1417 assert_not_impl!(Peekable<SyncStream>: Sync);
1418 assert_not_impl!(Peekable<LocalStream>: Sync);
1419 assert_impl!(Peekable<UnpinStream>: Unpin);
1420 assert_not_impl!(Peekable<PinnedStream>: Unpin);
/external/rust/crates/proc-macro-error-attr/src/
Dparse.rs4 use std::iter::Peekable;
28 input: &mut Peekable<impl Iterator<Item = TokenTree>>, in parse_next_attr()
59 fn parse_signature(input: &mut Peekable<impl Iterator<Item = TokenTree>>) -> Vec<TokenTree> { in parse_signature()
/external/rust/crates/itertools/src/
Dwith_position.rs1 use std::iter::{Fuse,Peekable};
13 peekable: Peekable<Fuse<I>>,
Dpeeking_take_while.rs1 use std::iter::Peekable;
22 impl<I> PeekingNext for Peekable<I> implementation
/external/rust/crates/paste/src/
Dsegment.rs3 use std::iter::Peekable;
21 pub(crate) fn parse(tokens: &mut Peekable<token_stream::IntoIter>) -> Result<Vec<Segment>> { in parse()
/external/rust/crates/futures-util/src/stream/
Dmod.rs22 Fuse, Inspect, Map, Next, Peek, Peekable, Scan, SelectNextSome, Skip, SkipWhile, StreamExt,
/external/rust/crates/itertools/src/adaptors/
Dmod.rs18 use std::iter::{Fuse, Peekable, FromIterator};
512 a: Peekable<I>,
513 b: Peekable<J>,
548 Peekable<I>: Clone,
549 Peekable<J>: Clone,
/external/rust/crates/futures/tests_disabled/
Dstream.rs3 use futures::stream::{empty, iter_ok, poll_fn, Peekable};
284 inner: Peekable<Box<Stream<Item = i32, Error =u32> + Send>> in peek()
/external/rust/crates/fallible-iterator/src/
Dlib.rs297 fn peekable(self) -> Peekable<Self> in peekable()
301 Peekable { in peekable()
2184 pub struct Peekable<I: FallibleIterator> {
2189 impl<I> Peekable<I> impl
2204 impl<I> FallibleIterator for Peekable<I>
/external/rust/crates/clap/src/app/
Dparser.rs9 use std::iter::Peekable;
886 it: &mut Peekable<I>, in get_matches_with()
1328 it: &mut Peekable<I>, in parse_subcommand()
1618 it: &mut Peekable<I>, in parse_long_arg()
/external/rust/crates/csv/src/
Ddeserializer.rs152 it: iter::Peekable<StringRecordIter<'r>>,
236 it: iter::Peekable<ByteRecordIter<'r>>,