delete_fingerprint_dbus

Function delete_fingerprint_dbus 

Source
pub async fn delete_fingerprint_dbus(
    connection: &Connection,
    path: OwnedObjectPath,
    finger: String,
    username: String,
) -> Result<()>
Expand description

Deletes chosen fingers print record for single user

§Returns

Ok()

§Errors

net.reactivated.Fprint.Error.PermissionDenied: if the caller lacks the appropriate PolicyKit authorization net.reactivated.Fprint.Error.PrintsNotDeleted: if the fingerprint is not deleted from fprintd storage net.reactivated.Fprint.Error.AlreadyInUse: if the device is already claimed net.reactivated.Fprint.Error.Internal: if the device couldn’t be claimed