Module tvix_castore::blobservice

source Β·

Modules§

Structs§

Traits§

  • BlobReader is a tokio::io::AsyncRead that also allows seeking.
  • The base trait all BlobService services need to implement. It provides functions to check whether a given blob exists, a way to read (and seek) a blob, and a method to create a blobwriter handle, which will implement a writer interface, and also provides a close funtion, to finalize a blob and get its digest.
  • A tokio::io::AsyncWrite that the user needs to close() afterwards for persist. On success, it returns the digest of the written blob.

Functions§