3 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("sled", [
])?;
use opendal::Operator;
let op = Operator::via_iter("sled", [
// That path to the sled data directory.
// ("datadir".to_string(), "...".to_string()),
// The tree for sled.
// ("tree".to_string(), "...".to_string()),
// The root for sled.
// ("root".to_string(), "...".to_string()),
])?;
Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.
| Key | Type | Required | Description |
|---|---|---|---|
datadir | string | no | That path to the sled data directory. |
tree | string | no | The tree for sled. |
root | string | no | The root for sled. |