Struct nodes::storage::Storage [] [src]

pub struct Storage<'a> { /* fields omitted */ }

Methods

impl<'a> Storage<'a>
[src]

[src]

Loads the storage for the given stoage path. Note that the passed path has to be the base path of the storage, not the storage file itself.

[src]

Returns the next id that would be used for a node. Does not automatically increase it, see use_id.

[src]

Uses the current next_id, i.e. increases the id counter.

[src]

Returns the path of this storage

[src]

Returns the nodes path

[src]

Returns the associated config

[src]

Returns the name of this storage

[src]

Returns a list of all nodes in this storage.

[src]

Trait Implementations

impl<'a> Drop for Storage<'a>
[src]

RAII drop implementation to save the storages state.

[src]

Executes the destructor for this type. Read more