Function libsecret::password_search

source ·
pub fn password_search<P: FnOnce(Result<Vec<Retrievable>, Error>) + 'static>(
    schema: Option<&Schema>,
    attributes: HashMap<&str, &str>,
    flags: SearchFlags,
    cancellable: Option<&impl IsA<Cancellable>>,
    callback: P
)
Expand description

Search for items in the secret service.

The @attributes should be a set of key and value string pairs.

This method will return immediately and complete asynchronously.

§schema

the schema for attributes

§attributes

the attribute keys and values

§flags

search option flags

§cancellable

optional cancellation object

§callback

called when the operation completes