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 Clone for FixedWindowRollerDeserializer
impl Clone for FixedWindowRollerDeserializer
sourcefn clone(&self) -> FixedWindowRollerDeserializer
fn clone(&self) -> FixedWindowRollerDeserializer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FixedWindowRollerDeserializer
impl Debug for FixedWindowRollerDeserializer
sourceimpl Default for FixedWindowRollerDeserializer
impl Default for FixedWindowRollerDeserializer
sourcefn default() -> FixedWindowRollerDeserializer
fn default() -> FixedWindowRollerDeserializer
Returns the “default value” for a type. Read more
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>>
fn deserialize(
&self,
config: FixedWindowRollerConfig,
_: &Deserializers
) -> Result<Box<dyn Roll>>
Create a new trait object based on the provided config.
sourceimpl Hash for FixedWindowRollerDeserializer
impl Hash for FixedWindowRollerDeserializer
impl Copy for FixedWindowRollerDeserializer
impl Eq for FixedWindowRollerDeserializer
impl StructuralEq for FixedWindowRollerDeserializer
impl StructuralPartialEq for FixedWindowRollerDeserializer
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CloneAny for T where
T: Any + Clone,
impl<T> CloneAny for T where
T: Any + Clone,
fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + Send + Sync + 'static, Global> where
T: Send + Sync,
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more