pub fn password_search_sync(
    schema: Option<&Schema>,
    attributes: HashMap<&str, &str>,
    flags: SearchFlags,
    cancellable: Option<&impl IsA<Cancellable>>
) -> Result<Vec<Retrievable>, Error>
Expand description

Search for items in the secret service.

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

If no secret is found then None is returned.

This method may block indefinitely and should not be used in user interface threads.

§schema

the schema for attributes

§attributes

the attribute keys and values

§flags

search option flags

§cancellable

optional cancellation object

§Returns

a list of Retrievable containing attributes of the matched items