pub enum NextStep {
Leaf(u32),
Inner(u32),
}Expand description
One step of the descent. Caller supplies the current node block and gets back the next logical block to read (within the directory file).
Returns:
Ok(NextStep::Leaf(block))if the descent has reached a leaf and the caller should now linearly scan that block for the name.Ok(NextStep::Inner(block))if there’s another intermediate level.
Variants§
Leaf(u32)
block is the logical block index of a leaf containing dir entries.
Inner(u32)
block is the logical block index of another intermediate dx_node.
Auto Trait Implementations§
impl Freeze for NextStep
impl RefUnwindSafe for NextStep
impl Send for NextStep
impl Sync for NextStep
impl Unpin for NextStep
impl UnsafeUnpin for NextStep
impl UnwindSafe for NextStep
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more