pub enum PolicyMode {
Enforce,
Testing,
None,
}
Variants§
Trait Implementations§
source§impl Debug for PolicyMode
impl Debug for PolicyMode
source§impl PartialEq for PolicyMode
impl PartialEq for PolicyMode
impl Eq for PolicyMode
impl StructuralPartialEq for PolicyMode
Auto Trait Implementations§
impl Freeze for PolicyMode
impl RefUnwindSafe for PolicyMode
impl Send for PolicyMode
impl Sync for PolicyMode
impl Unpin for PolicyMode
impl UnwindSafe for PolicyMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.