Struct rillrate::Dict[][src]

pub struct Dict { /* fields omitted */ }

Dict tracer.

Implementations

impl Dict[src]

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

Creates an instance of the tracer.

impl Dict[src]

pub fn set(&self, key: impl ToString, value: impl ToString)[src]

Assign a value to the key.

pub fn del(&self, key: impl ToString)[src]

Remove value assigned to the key.

Methods from Deref<Target = DictTracer>

pub fn set(&self, key: String, value: String, timestamp: Option<SystemTime>)[src]

Set a value to key.

pub fn del(&self, key: String, timestamp: Option<SystemTime>)[src]

Remove a key.

Trait Implementations

impl Clone for Dict[src]

impl Debug for Dict[src]

impl Deref for Dict[src]

type Target = DictTracer

The resulting type after dereferencing.

Auto Trait Implementations

impl !RefUnwindSafe for Dict

impl Send for Dict

impl Sync for Dict

impl Unpin for Dict

impl !UnwindSafe for Dict

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>,