pub type EmitResult = Result<(), EmitError>;
A convenience alias for emitter functions that may fail without returning a value.
enum EmitResult { Ok(()), Err(EmitError), }
Contains the success value
Contains the error value