#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CvPolicyMode {
Lenient,
Strict,
}
impl CvPolicyMode {
#[inline]
#[must_use]
pub const fn is_lenient(&self) -> bool {
matches!(self, Self::Lenient)
}
#[inline]
#[must_use]
pub fn is_strict(&self) -> bool {
matches!(self, Self::Strict)
}
}