[−][src]Struct log4rs::filter::threshold::ThresholdFilter
A filter that rejects all events at a level below a provided threshold.
Implementations
impl ThresholdFilter
[src]
pub fn new(level: LevelFilter) -> ThresholdFilter
[src]
Creates a new ThresholdFilter
with the specified threshold.
Trait Implementations
impl Clone for ThresholdFilter
[src]
pub fn clone(&self) -> ThresholdFilter
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ThresholdFilter
[src]
impl Debug for ThresholdFilter
[src]
impl Eq for ThresholdFilter
[src]
impl Filter for ThresholdFilter
[src]
impl Hash for ThresholdFilter
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<ThresholdFilter> for ThresholdFilter
[src]
pub fn eq(&self, other: &ThresholdFilter) -> bool
[src]
pub fn ne(&self, other: &ThresholdFilter) -> bool
[src]
impl StructuralEq for ThresholdFilter
[src]
impl StructuralPartialEq for ThresholdFilter
[src]
Auto Trait Implementations
impl RefUnwindSafe for ThresholdFilter
[src]
impl Send for ThresholdFilter
[src]
impl Sync for ThresholdFilter
[src]
impl Unpin for ThresholdFilter
[src]
impl UnwindSafe for ThresholdFilter
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Send + Sync, Global> where
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
[src]
T: Any + Debug,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,