Struct cattlerustler::Rustler [] [src]

pub struct Rustler { /* fields omitted */ }

Methods

impl Rustler
[src]

[src]

Connect to the database at path. Create a file if path doesn't exist.

[src]

Check if a task with the given id exists in the database.

[src]

Returns a task with the given id. Error if none found.

[src]

Deletes a task with the given id. Deleting a task deletes all its children.

[src]

Inserts the given task. If there exists a task with the same id, it will be overwritten. Leave id as None for inserting a new task. The task's id will be populated after update.

[src]

Iterator visiting all tasks.