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