[−][src]Module wascc_codec::blobstore
Binary object storage and streaming
This module contains data types for the wascc:blobstore capability provider. For more information on
how the blob store capability works within the constraints of a WebAssembly host runtime, check out
the documentation on waSCC.dev
Structs
| Blob | |
| BlobList | |
| Container | |
| ContainerList | |
| FileChunk | |
| StreamRequest | |
| Transfer |
Constants
| OP_CREATE_CONTAINER | Guest sends a Container to the capability provider, receives a Container back |
| OP_GET_OBJECT_INFO | Query information on a single blob. Guest sends an incomplete blob struct and gets a complete one in return |
| OP_LIST_OBJECTS | Guest sends a Container to the capability provider, receives a BlobList back |
| OP_RECEIVE_CHUNK | Guest will receive a FileChunk for each piece of a file requested to download |
| OP_REMOVE_CONTAINER | Guest sends a Container to the capability provider, lack of error indicates success |
| OP_REMOVE_OBJECT | Guest sends a Blob to the capability provider, lack of error indicates success |
| OP_START_DOWNLOAD | Guest sends a StreamRequest to the capability provider, immediate termination w/success. Guest will then start receiving OP_RECEIVE_CHUNK operations from the provider as chunks are streamed to the guest |
| OP_START_UPLOAD | Guest sends a metadata-carrying FileChunk to initiate an upload, lack of error is success |
| OP_UPLOAD_CHUNK | Guest sends a FileChunk to capability provider for storing as part of a Blob, lack of error indicates success |