Home
last modified time | relevance | path

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

/external/rust/crates/futures-util/src/stream/stream/
Dpeek.rs22 pub struct Peekable<St: Stream> {
29 impl<St: Stream> Peekable<St> { implementation
189 impl<St: Stream> FusedStream for Peekable<St> { implementation
195 impl<S: Stream> Stream for Peekable<S> { implementation
220 impl<S, Item> Sink<Item> for Peekable<S> implementation
233 inner: Option<Pin<&'a mut Peekable<St>>>,
275 inner: Option<Pin<&'a mut Peekable<St>>>,
317 inner: Option<(Pin<&'a mut Peekable<St>>, F)>,
Dmod.rs138 pub use self::peek::{NextIf, NextIfEq, Peek, PeekMut, Peekable};
1474 fn peekable(self) -> Peekable<Self> in peekable()
1478 assert_stream::<Self::Item, _>(Peekable::new(self)) in peekable()
/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/pest/src/
Dpratt_parser.rs13 use core::iter::Peekable;
323 fn expr<P: Iterator<Item = Pair<'i, R>>>(&mut self, pairs: &mut Peekable<P>, rbp: Prec) -> T { in expr()
335 fn nud<P: Iterator<Item = Pair<'i, R>>>(&mut self, pairs: &mut Peekable<P>) -> T { in nud()
354 fn led<P: Iterator<Item = Pair<'i, R>>>(&mut self, pairs: &mut Peekable<P>, lhs: T) -> T { in led()
378 fn lbp<P: Iterator<Item = Pair<'i, R>>>(&mut self, pairs: &mut Peekable<P>) -> Prec { in lbp()
Dprec_climber.rs15 use core::iter::Peekable;
317 pairs: &mut Peekable<P>, in climb_rec()
/external/rust/crates/itertools/src/
Dwith_position.rs1 use std::iter::{Fuse,Peekable, FusedIterator};
13 peekable: Peekable<Fuse<I>>,
Dpeeking_take_while.rs1 use std::iter::Peekable;
22 impl<I> PeekingNext for Peekable<I> implementation
/external/rust/crates/futures/tests/
Dstream_peekable.rs3 use futures::stream::{self, Peekable, StreamExt};
8 let peekable: Peekable<_> = stream::iter(vec![1u8, 2, 3]).peekable(); in peekable()
Dauto_traits.rs1454 assert_impl!(Peekable<SendStream<()>>: Send);
1455 assert_not_impl!(Peekable<SendStream>: Send);
1456 assert_not_impl!(Peekable<LocalStream>: Send);
1457 assert_impl!(Peekable<SyncStream<()>>: Sync);
1458 assert_not_impl!(Peekable<SyncStream>: Sync);
1459 assert_not_impl!(Peekable<LocalStream>: Sync);
1460 assert_impl!(Peekable<UnpinStream>: Unpin);
1461 assert_not_impl!(Peekable<PinnedStream>: Unpin);
/external/rust/crates/os_str_bytes/src/windows/wtf8/
Dcode_points.rs2 use std::iter::Peekable;
16 iter: Peekable<I>,
/external/rust/crates/peeking_take_while/src/
Dlib.rs103 impl<I: Iterator> PeekableExt<I> for core::iter::Peekable<I> { implementation
123 pub(crate) iter: &'a mut core::iter::Peekable<I>,
/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/itertools/src/adaptors/
Dmod.rs18 use std::iter::{Fuse, Peekable, FromIterator, FusedIterator};
520 a: Peekable<I>,
521 b: Peekable<J>,
556 Peekable<I>: Clone,
557 Peekable<J>: Clone,
/external/rust/crates/futures-util/src/stream/
Dmod.rs22 Fuse, Inspect, Map, Next, NextIf, NextIfEq, Peek, PeekMut, Peekable, Scan, SelectNextSome,
/external/rust/crates/futures/tests_disabled/
Dstream.rs5 use futures::stream::{empty, iter_ok, poll_fn, Peekable};
261 inner: Peekable<Box<Stream<Item = i32, Error = u32> + Send>>, in peek()
/external/rust/crates/ciborium/src/value/
Dde.rs6 use core::iter::Peekable;
520 for Deserializer<Peekable<T>>
/external/rust/crates/pest_meta/src/
Dparser.rs13 use std::iter::Peekable;
309 pairs: Peekable<Pairs<'i, Rule>>, in consume_expr()
313 mut pairs: Peekable<Pairs<'i, Rule>>, in consume_expr()
/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/csv/src/
Ddeserializer.rs152 it: iter::Peekable<StringRecordIter<'r>>,
233 it: iter::Peekable<ByteRecordIter<'r>>,