pub trait AssetSink { // Required method fn put(&mut self, hash: AssetHash, asset: &Asset) -> Result<()>; }
Where payloads are written. Separate from AssetSource because a read-only session has one and not the other.
AssetSource
File asset under hash, durably, if it is not already there.
asset
hash
The write that did not land.