Struct tetsy_local_store::LocalDataStore [−][src]
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,
T: Unpin,
impl<T> !UnwindSafe for LocalDataStore<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,