Crate hermes_ipfs
source ·Expand description
Hermes IPFS
Provides support for storage, and PubSub
functionality.
Re-exports§
pub use rust_ipfs;
Macros§
- libp2p re-exports. Pins a value on the stack.
Structs§
- Path to get the file from IPFS
- Hermes IPFS Node.
- Server, Client, or Auto mode The facade for the Ipfs node.
- Builder type for IPFS Node configuration.
PubSub
Message ID.- Multiaddr type. Representation of a Multiaddr.
- Peer ID type. Identifier of a peer of the network.
- Peer Info type. Abstraction of IdentifyInfo but includes PeerId
- Stream for
PubSub
Topic Subscriptions. Stream of a pubsub messages. Implements [FusedStream
].
Enums§
- File that will be added to IPFS
- Server, Client, or Auto mode
- IPLD Ipld
- Storage type for IPFS node.
Traits§
- libp2p re-exports. An extension trait for
Future
s that provides a variety of convenient adapters. - libp2p re-exports. An extension trait for
Stream
s that provides a variety of convenient combinator functions.
Functions§
- Handle stream of messages from the IPFS pubsub topic
Type Aliases§
- libp2p re-exports. An owned dynamically typed [
Stream
] for use in cases where you can’t statically type your result or need to add some indirection. - IPFS Content Identifier. A Cid that contains a multihash with an allocated size of 512 bits.