Home
last modified time | relevance | path

Searched refs:ChainState (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/anyhow/src/
Dchain.rs1 use self::ChainState::*;
12 state: ChainState<'a>,
16 pub(crate) enum ChainState<'a> { enum
29 state: ChainState::Linked { next: Some(head) }, in new()
96 state: ChainState::Buffered { in default()
Dlib.rs403 state: crate::chain::ChainState<'a>,
/external/rust/crates/fallible-iterator/src/
Dlib.rs225 state: ChainState::Both, in chain()
1257 enum ChainState { enum
1268 state: ChainState,
1282 ChainState::Both => match self.front.next()? { in next()
1285 self.state = ChainState::Back; in next()
1289 ChainState::Front => self.front.next(), in next()
1290 ChainState::Back => self.back.next(), in next()
1311 ChainState::Both => Ok(self.front.count()? + self.back.count()?), in count()
1312 ChainState::Front => self.front.count(), in count()
1313 ChainState::Back => self.back.count(), in count()
[all …]