Enum ntp_daemon::config::FilterAction
source · pub enum FilterAction {
Ignore,
Deny,
}Variants§
Trait Implementations§
source§impl Clone for FilterAction
impl Clone for FilterAction
source§fn clone(&self) -> FilterAction
fn clone(&self) -> FilterAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FilterAction
impl Debug for FilterAction
source§impl<'de> Deserialize<'de> for FilterAction
impl<'de> Deserialize<'de> for FilterAction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<FilterAction> for FilterAction
impl PartialEq<FilterAction> for FilterAction
source§fn eq(&self, other: &FilterAction) -> bool
fn eq(&self, other: &FilterAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for FilterAction
impl Eq for FilterAction
impl StructuralEq for FilterAction
impl StructuralPartialEq for FilterAction
Auto Trait Implementations§
impl RefUnwindSafe for FilterAction
impl Send for FilterAction
impl Sync for FilterAction
impl Unpin for FilterAction
impl UnwindSafe for FilterAction
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.