[−][src]Crate ipfs_embed
IpfsEmbed is an embeddable ipfs implementation.
use ipfs_embed::{Config, Store}; let config = Config::from_path_local("/tmp/db")?; let store = Store::new(config)?;
Structs
| Config | |
| IVec | A buffer that may either be inline or remote and protected by an Arc |
| Metadata | |
| Multiaddr | Representation of a Multiaddr. |
| NetworkConfig | Network configuration. |
| PeerId | Identifier of a peer of the network. |
| Store |
Enums
| Error |
Constants
| TREE |
Traits
| AliasStore | Implemented by ipld storage backends that support aliasing |
| ReadonlyStore | Implementable by ipld storage providers. |
| WritableStore | Implementable by ipld storage backends. |
Type Definitions
| Cid | A CID with the default Multihash code table |