pub struct RuntimeEvents {
pub stream: Option<String>,
pub include: Vec<String>,
pub sampled: Vec<String>,
pub queue: Option<u32>,
}Expand description
Which of the daemon’s own events reach a stream, and at what rate.
Fields§
§stream: Option<String>The declared stream events land on. Required.
include: Vec<String>Families taken in full (the segment before the first dot in an event name). Validated against the closed vocabulary at startup.
sampled: Vec<String>Families taken at a sampled rate. A high-rate family cannot share a
list with a once-a-week one: pressure.shed arrives in storms exactly
when the disk it would be written to is the thing under pressure.
queue: Option<u32>How many events may queue between ticks before the tap starts dropping
(and counting). Default DEFAULT_TAP_QUEUE.
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeEvents
impl Clone for RuntimeEvents
Source§fn clone(&self) -> RuntimeEvents
fn clone(&self) -> RuntimeEvents
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 moreSource§impl Debug for RuntimeEvents
impl Debug for RuntimeEvents
Source§impl Default for RuntimeEvents
impl Default for RuntimeEvents
Source§fn default() -> RuntimeEvents
fn default() -> RuntimeEvents
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeEventswhere
RuntimeEvents: Default,
impl<'de> Deserialize<'de> for RuntimeEventswhere
RuntimeEvents: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RuntimeEvents
impl PartialEq for RuntimeEvents
impl StructuralPartialEq for RuntimeEvents
Auto Trait Implementations§
impl Freeze for RuntimeEvents
impl RefUnwindSafe for RuntimeEvents
impl Send for RuntimeEvents
impl Sync for RuntimeEvents
impl Unpin for RuntimeEvents
impl UnsafeUnpin for RuntimeEvents
impl UnwindSafe for RuntimeEvents
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