pub trait ResetPartition { type Error: Error; // Required method fn reset(&self) -> Result<(), Self::Error>; }
Extension trait for resetting the partition.
Resets the partition, restoring all partition state to the initial state.
The caller must ensure that no VPs are running when this is called.
If this fails, the partition is in a bad state and cannot be resumed until a subsequent reset call succeeds.