disk_based_bfs/
callback.rs

1//! Defines the `BfsCallback` trait.
2
3/// Defines callback functions that run during the BFS.
4pub trait BfsCallback {
5    /// Called when a new node is visited.
6    fn new_state(&mut self, depth: usize, state: u64);
7
8    /// Called when a chunk of the bit array has finished processing.
9    fn end_of_chunk(&self, depth: usize, chunk_idx: usize);
10}