pub type NothingOrError<E> = Result<(), E>;
Returned when something may return either nothing or an error.
pub enum NothingOrError<E> { Ok(()), Err(E), }
Contains the success value
Contains the error value