[−][src]Struct log4rs::append::rolling_file::policy::compound::roll::fixed_window::FixedWindowRollerDeserializer
A deserializer for the FixedWindowRoller
.
Configuration
kind: fixed_window
# The filename pattern for archived logs. This is either an absolute path or if lacking a leading `/`,
# relative to the `cwd` of your application. The pattern must contain at least one
# instance of `{}`, all of which will be replaced with an archived log file's index.
# If the file extension of the pattern is `.gz` and the `gzip` Cargo feature
# is enabled, the archive files will be gzip-compressed.
# Required.
pattern: archive/foo.{}.log
# The maximum number of archived logs to maintain. Required.
count: 5
# The base value for archived log indices. Defaults to 0.
base: 1
Trait Implementations
impl Clone for FixedWindowRollerDeserializer
[src]
pub fn clone(&self) -> FixedWindowRollerDeserializer
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FixedWindowRollerDeserializer
[src]
impl Debug for FixedWindowRollerDeserializer
[src]
impl Default for FixedWindowRollerDeserializer
[src]
pub fn default() -> FixedWindowRollerDeserializer
[src]
impl Deserialize for FixedWindowRollerDeserializer
[src]
type Trait = dyn Roll
The trait that this deserializer will create.
type Config = FixedWindowRollerConfig
This deserializer's configuration.
pub fn deserialize(
&self,
config: FixedWindowRollerConfig,
_: &Deserializers
) -> Result<Box<dyn Roll>>
[src]
&self,
config: FixedWindowRollerConfig,
_: &Deserializers
) -> Result<Box<dyn Roll>>
impl Eq for FixedWindowRollerDeserializer
[src]
impl Hash for FixedWindowRollerDeserializer
[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<FixedWindowRollerDeserializer> for FixedWindowRollerDeserializer
[src]
pub fn eq(&self, other: &FixedWindowRollerDeserializer) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for FixedWindowRollerDeserializer
[src]
impl StructuralPartialEq for FixedWindowRollerDeserializer
[src]
Auto Trait Implementations
impl RefUnwindSafe for FixedWindowRollerDeserializer
[src]
impl Send for FixedWindowRollerDeserializer
[src]
impl Sync for FixedWindowRollerDeserializer
[src]
impl Unpin for FixedWindowRollerDeserializer
[src]
impl UnwindSafe for FixedWindowRollerDeserializer
[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,