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