pub type UndoResult<T> = Result<T, UndoError>;
Result type for undo operations.
pub enum UndoResult<T> { Ok(T), Err(UndoError), }
Contains the success value
Contains the error value