pub type BatchResult<T> = Result<T, BatchError>;
pub enum BatchResult<T> { Ok(T), Err(BatchError), }
Contains the success value
Contains the error value