reifydb-core 0.9.1

Core database interfaces and data structures for ReifyDB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2026 ReifyDB

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Progress {
	Yielded,
	Exhausted,
}

impl Progress {
	pub fn is_yielded(self) -> bool {
		matches!(self, Progress::Yielded)
	}

	pub fn is_exhausted(self) -> bool {
		matches!(self, Progress::Exhausted)
	}
}