File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 2
2
//!
3
3
//! This API is both for interacting with an in-process store and for interacting
4
4
//! with a remote store via rpc calls.
5
+ //!
6
+ //! The entry point for the api is the [`Store`] struct. There are several ways
7
+ //! to obtain a `Store` instance: it is available via [`Deref`](std::ops::Deref)
8
+ //! from the different store implementations
9
+ //! (e.g. [`MemStore`](crate::store::mem::MemStore)
10
+ //! and [`FsStore`](crate::store::fs::FsStore)) as well as on the
11
+ //! [`BlobsProtocol`](crate::BlobsProtocol) iroh protocol handler.
12
+ //!
13
+ //! You can also [`connect`](Store::connect) to a remote store that is listening
14
+ //! to rpc requests.
5
15
use std:: { io, net:: SocketAddr , ops:: Deref , sync:: Arc } ;
6
16
7
17
use bao_tree:: io:: EncodeError ;
You can’t perform that action at this time.
0 commit comments