NextStateImpl

Trait NextStateImpl 

Source
pub trait NextStateImpl<Transition = ()> {
    type Next;

    // Required method
    fn next_state_impl(self) -> Self::Next;
}
Expand description

Represents a state transition in the BlockAllocator state machine.

This trait should not be used directly. Instead, consider using NextState.

For more info, read the module docs of crate::shell::block_alloc::states.

Required Associated Types§

Source

type Next

The next state in the BlockAllocator state machine.

Required Methods§

Source

fn next_state_impl(self) -> Self::Next

Transition to the next state in the BlockAllocator] state machine.

Implementors§