pub type Result<T> = Result<T, ModeError>;
Result type for mode operations
pub enum Result<T> { Ok(T), Err(ModeError), }
Contains the success value
Contains the error value