pub enum RollingStrategy {
Time(TimeRollingConfig),
Size(SizeRollingConfig),
}Expand description
滚动策略
Variants§
Trait Implementations§
Source§impl Clone for RollingStrategy
impl Clone for RollingStrategy
Source§fn clone(&self) -> RollingStrategy
fn clone(&self) -> RollingStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RollingStrategy
impl RefUnwindSafe for RollingStrategy
impl Send for RollingStrategy
impl Sync for RollingStrategy
impl Unpin for RollingStrategy
impl UnsafeUnpin for RollingStrategy
impl UnwindSafe for RollingStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more