Struct log4rs::append::rolling_file::policy::compound::CompoundPolicyDeserializer
source · [−]pub struct CompoundPolicyDeserializer;
Expand description
A deserializer for the CompoundPolicyDeserializer
.
Configuration
kind: compound
trigger:
kind: size
limit: 10 mb
roller:
kind: delete
Trait Implementations
sourceimpl Clone for CompoundPolicyDeserializer
impl Clone for CompoundPolicyDeserializer
sourcefn clone(&self) -> CompoundPolicyDeserializer
fn clone(&self) -> CompoundPolicyDeserializer
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 CompoundPolicyDeserializer
impl Debug for CompoundPolicyDeserializer
sourceimpl Default for CompoundPolicyDeserializer
impl Default for CompoundPolicyDeserializer
sourcefn default() -> CompoundPolicyDeserializer
fn default() -> CompoundPolicyDeserializer
Returns the “default value” for a type. Read more
sourceimpl Deserialize for CompoundPolicyDeserializer
impl Deserialize for CompoundPolicyDeserializer
type Config = CompoundPolicyConfig
type Config = CompoundPolicyConfig
This deserializer’s configuration.
sourcefn deserialize(
&self,
config: CompoundPolicyConfig,
deserializers: &Deserializers
) -> Result<Box<dyn Policy>>
fn deserialize(
&self,
config: CompoundPolicyConfig,
deserializers: &Deserializers
) -> Result<Box<dyn Policy>>
Create a new trait object based on the provided config.
sourceimpl Hash for CompoundPolicyDeserializer
impl Hash for CompoundPolicyDeserializer
impl Copy for CompoundPolicyDeserializer
impl Eq for CompoundPolicyDeserializer
impl StructuralEq for CompoundPolicyDeserializer
impl StructuralPartialEq for CompoundPolicyDeserializer
Auto Trait Implementations
impl RefUnwindSafe for CompoundPolicyDeserializer
impl Send for CompoundPolicyDeserializer
impl Sync for CompoundPolicyDeserializer
impl Unpin for CompoundPolicyDeserializer
impl UnwindSafe for CompoundPolicyDeserializer
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