Struct libflow::slice::Flow [] [src]

pub struct Flow { /* fields omitted */ }

One flow slice.

This struct holds one flow slice ‒ an interval of a flow. Note that it does not have to ocupy the full time slice and that the ends may be bit fuzzy.

Methods

impl Flow
[src]

Constructs new Flow

It simply builds it from the relevant parts.

Params

  • tags: The tags of the flow. Note that due to interior mutability, the data there might change in the future.
  • stats: Statistics (eg. how much was transferred, etc) during the slice. This is only in the slice, not from the start of the flow.

Trait Implementations

impl Clone for Flow
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Flow
[src]

Formats the value using the given formatter.

impl Eq for Flow
[src]

impl PartialEq for Flow
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> ValueSrc for &'a Flow
[src]

Extracts the given column. Read more

Provides the statistics. Read more

impl<'a> InTimeInterval for &'a Flow
[src]

The interval of the data inside. Read more

Provides the granularity of the container. Read more

Returns if the queried interval is for the data contained. Read more