Struct rillrate::Table[][src]

pub struct Table { /* fields omitted */ }

Table tracer.

Implementations

impl Table[src]

pub fn create(
    path: impl AsRef<str>,
    columns: Vec<(Col, impl ToString)>
) -> Result<Self, Error>
[src]

Creates an instance of the tracer.

impl Table[src]

pub fn set_cell(&self, row: Row, col: Col, value: impl ToString)[src]

Sets the cell of a table.

Methods from Deref<Target = TableTracer>

pub fn add_row(&self, row: Row)[src]

Adds a new row

pub fn del_row(&self, row: Row)[src]

Deletes a row by id

pub fn set_cell(
    &self,
    row: Row,
    col: Col,
    value: impl ToString,
    timestamp: Option<SystemTime>
)
[src]

Sets a value to the cell

Trait Implementations

impl Clone for Table[src]

impl Debug for Table[src]

impl Deref for Table[src]

type Target = TableTracer

The resulting type after dereferencing.

Auto Trait Implementations

impl !RefUnwindSafe for Table

impl Send for Table

impl Sync for Table

impl Unpin for Table

impl !UnwindSafe for Table

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,