Skip to main content

load

Function load 

Source
pub fn load(id: &str) -> Result<Stored, RkError>
Expand description

Read one plan back by id.

ยงErrors

Returns RkError::Missing naming the id and the retention rule where no plan directory holds it, a refusal with Reason::UnsupportedSchema where the stored document is not one this engine reads, and RkError::Io for a read that fails.