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