Skip to main content

sled

3 configuration options · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

let op = Operator::via_iter("sled", [
])?;
All configuration options (copy & trim)
Full reference
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.

Configuration reference

General3
KeyTypeRequiredDescription
datadirstringnoThat path to the sled data directory.
treestringnoThe tree for sled.
rootstringnoThe root for sled.