Struct ate::prelude::Chain[][src]

pub struct Chain { /* fields omitted */ }
Expand description

Represents the main API to access a specific chain-of-trust

This object must stay within scope for the duration of its use which has been optimized for infrequent initialization as creating this object will reload the entire chain’s metadata into memory.

The actual data of the chain is stored locally on disk thus huge chains can be stored here however very random access on large chains will result in random access IO on the disk.

Chains also allow subscribe/publish models to be applied to particular vectors (see the examples for details)

Implementations

Opens a data access layer that allows read only access to data within the chain In order to make changes to data you must use ‘.dio_mut’, ‘.dio_fire’, ‘.dio_full’ or ‘.dio_trans’

Opens a data access layer that allows mutable changes to data. Transaction consistency on commit will be guarranted for local redo log files

Opens a data access layer that allows mutable changes to data (in a fire-and-forget mode). No transaction consistency on commits will be enforced

Opens a data access layer that allows mutable changes to data. Transaction consistency on commit will be guarranted for all remote replicas

Opens a data access layer that allows mutable changes to data. Transaction consistency on commit must be specified

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Executes the destructor for this type. Read more

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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more