1 2 3 4 5 6 7
pub enum ServerStatus { Idling, Busy, } pub struct Server { pub(crate) status: ServerStatus, }