Struct couchdb::action::HeadDatabase [] [src]

pub struct HeadDatabase<'a, P> where P: IntoDatabasePath {
    // some fields omitted
}

Action to check whether a database exists.

Errors

The following are some of the errors that may occur as a result of executing this action:

Methods

impl<'a, P: IntoDatabasePath> HeadDatabase<'a, P>

fn run(self) -> Result<(), Error>

Sends the action request and waits for the response.