Trait radicle_cob::Store

source ·
pub trait Store
where Self: Storage + Storage<StoreError = Create, LoadError = Load, ObjectId = Oid, Parent = Oid, Signatures = ExtendedSignature>,
{ }
Expand description

The Store is an aggregation of the different types of storage traits required for editing CollaborativeObjects.

The backing store being used is expected to be a git backend.

To get started using this trait, you must implement the following for the specific git storage:

Note: change::Storage is already implemented for git2::Repository. It is expected that the underlying storage for object::Storage will also be git2::Repository, but if not please open an issue to change the definition of Store :)

Object Safety§

This trait is not object safe.

Implementors§