Searched refs:ChainState (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/anyhow/src/ |
D | chain.rs | 1 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()
|
D | lib.rs | 403 state: crate::chain::ChainState<'a>,
|
/external/rust/crates/fallible-iterator/src/ |
D | lib.rs | 225 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 …]
|