Skip to main content

pcloud

4 configuration options · available in Rust, Python

Quick start
use opendal::Operator;

let op = Operator::via_iter("pcloud", [
("endpoint".to_string(), "...".to_string()),
])?;
All configuration options (copy & trim)
Full reference
use opendal::Operator;

let op = Operator::via_iter("pcloud", [
// root of this backend.
//
// All operations will happen under this root.
// ("root".to_string(), "...".to_string()),

// pCloud endpoint address.
("endpoint".to_string(), "...".to_string()),

// pCloud username.
// ("username".to_string(), "...".to_string()),

// pCloud password.
// ("password".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

General4
KeyTypeRequiredDescription
rootstringnoroot of this backend. All operations will happen under this root.
endpointstringyespCloud endpoint address.
usernamestringnopCloud username.
passwordstringnopCloud password.