Struct libflow::slice::Time [] [src]

pub struct Time { /* fields omitted */ }

One time slice.

It is produced by the ProtoTime.

Methods

impl Time
[src]

Constructs a new time slice.

It simply puts all the parts together.

Params

  • start: The time when the slice starts.
  • end: The time when the slice ends.
  • flows: The flows that live inside.

Panics

If some of the flows sneak out of the start-end interval, if they don't have the interval set or if they are invalid in some other way.

Trait Implementations

impl Debug for Time
[src]

Formats the value using the given formatter.

impl Eq for Time
[src]

impl PartialEq for Time
[src]

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

This method tests for !=.

impl InTimeInterval for Time
[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

impl<'a> IntoIterator for &'a Time
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl Container for Time
[src]

Given the provided query, may the container contain relevant data?

Provides the timeline of data inside this container. Read more