pub enum ValidatorPolicy {
Off,
Warn,
Block,
}Variants§
Trait Implementations§
Source§impl Clone for ValidatorPolicy
impl Clone for ValidatorPolicy
Source§fn clone(&self) -> ValidatorPolicy
fn clone(&self) -> ValidatorPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ValidatorPolicy
Source§impl Debug for ValidatorPolicy
impl Debug for ValidatorPolicy
impl Eq for ValidatorPolicy
Source§impl PartialEq for ValidatorPolicy
impl PartialEq for ValidatorPolicy
Source§fn eq(&self, other: &ValidatorPolicy) -> bool
fn eq(&self, other: &ValidatorPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValidatorPolicy
Auto Trait Implementations§
impl Freeze for ValidatorPolicy
impl RefUnwindSafe for ValidatorPolicy
impl Send for ValidatorPolicy
impl Sync for ValidatorPolicy
impl Unpin for ValidatorPolicy
impl UnsafeUnpin for ValidatorPolicy
impl UnwindSafe for ValidatorPolicy
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