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.
  • Enum for specifying paths in IPFS. Abstraction over Ipfs paths, which are used to target sub-trees or sub-documents on top of content addressable (Cid) trees. The most common use case is to specify a file under an unixfs tree from underneath a Cid forest.
  • 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§

Traits§

  • libp2p re-exports. An extension trait for Futures that provides a variety of convenient adapters.
  • libp2p re-exports. An extension trait for Streams that provides a variety of convenient combinator functions.

Functions§

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.