pub struct TimeTrigger {
pub interval: Duration,
}Expand description
Flush when the time since the last flush exceeds interval.
Fields§
§interval: DurationInterval that triggers a flush.
Implementations§
Trait Implementations§
Source§impl Clone for TimeTrigger
impl Clone for TimeTrigger
Source§fn clone(&self) -> TimeTrigger
fn clone(&self) -> TimeTrigger
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 moreimpl Copy for TimeTrigger
Source§impl Debug for TimeTrigger
impl Debug for TimeTrigger
impl Eq for TimeTrigger
Source§impl PartialEq for TimeTrigger
impl PartialEq for TimeTrigger
Source§fn eq(&self, other: &TimeTrigger) -> bool
fn eq(&self, other: &TimeTrigger) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimeTrigger
Auto Trait Implementations§
impl Freeze for TimeTrigger
impl RefUnwindSafe for TimeTrigger
impl Send for TimeTrigger
impl Sync for TimeTrigger
impl Unpin for TimeTrigger
impl UnsafeUnpin for TimeTrigger
impl UnwindSafe for TimeTrigger
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