Struct secret_service::Collection
source · pub struct Collection<'a> {
pub collection_path: OwnedObjectPath,
/* private fields */
}
Fields§
§collection_path: OwnedObjectPath
Implementations§
source§impl<'a> Collection<'a>
impl<'a> Collection<'a>
pub async fn is_locked(&self) -> Result<bool, Error>
pub async fn ensure_unlocked(&self) -> Result<(), Error>
pub async fn unlock(&self) -> Result<(), Error>
pub async fn lock(&self) -> Result<(), Error>
sourcepub async fn delete(&self) -> Result<(), Error>
pub async fn delete(&self) -> Result<(), Error>
Deletes dbus object, but struct instance still exists (current implementation)