Struct log4rs::config::AppenderBuilder
source · [−]pub struct AppenderBuilder { /* private fields */ }
Expand description
A builder for Appender
s.
Implementations
sourceimpl AppenderBuilder
impl AppenderBuilder
sourcepub fn filter(self, filter: Box<dyn Filter>) -> AppenderBuilder
pub fn filter(self, filter: Box<dyn Filter>) -> AppenderBuilder
Adds a filter.
sourcepub fn filters<I>(self, filters: I) -> AppenderBuilder where
I: IntoIterator<Item = Box<dyn Filter>>,
pub fn filters<I>(self, filters: I) -> AppenderBuilder where
I: IntoIterator<Item = Box<dyn Filter>>,
Adds filters.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AppenderBuilder
impl Send for AppenderBuilder
impl Sync for AppenderBuilder
impl Unpin for AppenderBuilder
impl !UnwindSafe for AppenderBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more