Struct log4rs::filter::threshold::ThresholdFilterDeserializer
source · pub struct ThresholdFilterDeserializer;
Expand description
A deserializer for the ThresholdFilter
.
§Configuration
kind: threshold
# The threshold log level to filter at. Required
level: warn
Trait Implementations§
source§impl Clone for ThresholdFilterDeserializer
impl Clone for ThresholdFilterDeserializer
source§fn clone(&self) -> ThresholdFilterDeserializer
fn clone(&self) -> ThresholdFilterDeserializer
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 ThresholdFilterDeserializer
impl Debug for ThresholdFilterDeserializer
source§impl Deserialize for ThresholdFilterDeserializer
impl Deserialize for ThresholdFilterDeserializer
§type Config = ThresholdFilterConfig
type Config = ThresholdFilterConfig
This deserializer’s configuration.
source§fn deserialize(
&self,
config: ThresholdFilterConfig,
_: &Deserializers
) -> Result<Box<dyn Filter>>
fn deserialize( &self, config: ThresholdFilterConfig, _: &Deserializers ) -> Result<Box<dyn Filter>>
Create a new trait object based on the provided config.
source§impl Hash for ThresholdFilterDeserializer
impl Hash for ThresholdFilterDeserializer
source§impl PartialEq for ThresholdFilterDeserializer
impl PartialEq for ThresholdFilterDeserializer
source§fn eq(&self, other: &ThresholdFilterDeserializer) -> bool
fn eq(&self, other: &ThresholdFilterDeserializer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ThresholdFilterDeserializer
impl Eq for ThresholdFilterDeserializer
impl StructuralPartialEq for ThresholdFilterDeserializer
Auto Trait Implementations§
impl RefUnwindSafe for ThresholdFilterDeserializer
impl Send for ThresholdFilterDeserializer
impl Sync for ThresholdFilterDeserializer
impl Unpin for ThresholdFilterDeserializer
impl UnwindSafe for ThresholdFilterDeserializer
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
Checks if this value is equivalent to the given key. 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.