#pragma once #include "rust/cxx.h" #include namespace org { namespace blobstore { struct MultiBuf; struct BlobMetadata; class BlobstoreClient { public: BlobstoreClient(); uint64_t put(MultiBuf &buf) const; void tag(uint64_t blobid, rust::Str tag) const; BlobMetadata metadata(uint64_t blobid) const; private: class impl; std::shared_ptr impl; }; std::unique_ptr new_blobstore_client(); } // namespace blobstore } // namespace org