Skip to main content

Module fuel

Module fuel 

Source
Expand description

Fuel budgets for WASM storage plugin calls.

Matches the shape in crate::types::fuel. Object I/O is dominated by network cost from the host’s perspective, so per-call fuel only covers the plugin-side marshalling; the real rate limiting happens in the host’s outbound HTTP budget.

Constants§

DELETE
Fuel for super::StorageClientPlugin::delete.
GET
Fuel for a single super::StorageClientPlugin::get call.
LIST_PAGE
Fuel for super::StorageClientPlugin::list_page.
PRESIGNED_URL
Fuel for super::StorageClientPlugin::presigned_url — pure CPU, no I/O, so a small budget.
PUT
Fuel for super::StorageClientPlugin::put. Larger budget because marshalling the upload body dominates.