pub type EmptyResult = Result<Json<Empty>, AppError>;
pub enum EmptyResult { Ok(Json<Empty>), Err(AppError), }
Contains the success value
Contains the error value