Struct tetsy_local_store::LocalDataStore[][src]

pub struct LocalDataStore<T: NodeInfo> { /* fields omitted */ }

Manages local node data.

In specific, this will be used to store things like unpropagated local transactions and the node security level.

Implementations

impl<T: NodeInfo> LocalDataStore<T>[src]

pub fn pending_transactions(&self) -> Result<Vec<PendingTransaction>>[src]

Attempt to read pending transactions out of the local store.

pub fn update(&self) -> Result<()>[src]

Update the entries in the database.

pub fn clear(&self) -> Result<()>[src]

Clear data in this column.

Trait Implementations

impl<T: NodeInfo> Drop for LocalDataStore<T>[src]

impl<T: NodeInfo, M: Send + Sync + 'static> IoHandler<M> for LocalDataStore<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for LocalDataStore<T>

impl<T> Send for LocalDataStore<T>

impl<T> Sync for LocalDataStore<T>

impl<T> Unpin for LocalDataStore<T> where
    T: Unpin

impl<T> !UnwindSafe for LocalDataStore<T>

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