Skip to main content

Module assets

Module assets 

Source
Expand description

The asset collections on the wire. An interface gets every asset when it connects, then only the assets that changed or were deleted. It saves and deletes assets through the engine, which writes them to the repository.

Structs§

AssetChanges
What changed between two versions of the collections.

Enums§

AnyAsset
One asset of any kind.
AnyAssetId
The id of an asset of any kind.

Traits§

AssetIdVisitor
Does something with an asset id of whatever kind it is.
AssetVisitor
Does something with an asset of whatever kind it is.
KnownAsset
An asset kind the protocol knows, so a typed asset can be sent.

Functions§

all_assets
Every asset of every kind.
collections_from
Every asset in assets, as a fresh collection.