Struct log4rs::append::rolling_file::policy::compound::roll::fixed_window::FixedWindowRollerDeserializer
source · [−]pub struct FixedWindowRollerDeserializer;
Expand description
A deserializer for the FixedWindowRoller
.
Configuration
kind: fixed_window
pattern: archive/foo.{}.log
count: 5
base: 1
Trait Implementations
sourceimpl Deserialize for FixedWindowRollerDeserializer
impl Deserialize for FixedWindowRollerDeserializer
type Config = FixedWindowRollerConfig
type Config = FixedWindowRollerConfig
This deserializer’s configuration.
sourcefn deserialize(
&self,
config: FixedWindowRollerConfig,
_: &Deserializers
) -> Result<Box<dyn Roll>, Box<dyn Error + Sync + Send>>
fn deserialize(
&self,
config: FixedWindowRollerConfig,
_: &Deserializers
) -> Result<Box<dyn Roll>, Box<dyn Error + Sync + Send>>
Create a new trait object based on the provided config.
Auto Trait Implementations
impl RefUnwindSafe for FixedWindowRollerDeserializer
impl Send for FixedWindowRollerDeserializer
impl Sync for FixedWindowRollerDeserializer
impl Unpin for FixedWindowRollerDeserializer
impl UnwindSafe for FixedWindowRollerDeserializer
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