use std::fmt;
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum ProfilerState {
Active,
NotActive,
}
impl fmt::Display for ProfilerState {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
match *self {
ProfilerState::Active => write!(f, "Active"),
ProfilerState::NotActive => write!(f, "NotActive"),
}
}
}