pub struct LocalDataStore<T: NodeInfo> { /* private fields */ }
Expand description

Manages local node data.

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

Implementations

Attempt to read pending transactions out of the local store.

Update the entries in the database.

Clear data in this column.

Trait Implementations

Executes the destructor for this type. Read more

Initialize the handler

Timer function called after a timeout created with HandlerIo::timeout.

Called when a broadcasted message is received. The message can only be sent from a different IO handler.

Called when an IO stream gets closed

Called when an IO stream can be read from

Called when an IO stream can be written to

Register a new stream with the event loop

Re-register a stream with the event loop

Deregister a stream. Called whenstream is removed from event loop

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.