1 pub mod process;
2 use std::fmt::Display;
3
4 pub use process::*;
5
6 #[derive(Debug, Clone, Copy)]
7 pub enum SignupMethod {
8 Email,
9 GitHub,
10 }
11
12 impl Display for SignupMethod {
13 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
14 match self {
15 Self::Email => write!(f, "Email and password"),
16 Self::GitHub => write!(f, "GitHub"),
17 }
18 }
19 }