pub async fn enroll_fingerprint_process<S>(
connection: Connection,
path: &OwnedObjectPath,
finger_name: &str,
username: &str,
output: &mut S,
) -> Result<()>Expand description
Records a print into scanner devices. Does it by communicating via the net.reactived.Fprintd API with the device.
Updates status of the app through a Subscription.
§Returns
Result(Ok(). Or Result(zbus::Error()))
§Errors
net.reactivated.Fprint.Error.PermissionDenied: if the caller lacks the appropriate PolicyKit authorization net.reactivated.Fprint.Error.ClaimDevice: if the device was not claimed net.reactivated.Fprint.Error.AlreadyInUse: if the device was already being used net.reactivated.Fprint.Error.InvalidFingername: if the finger name passed is invalid net.reactivated.Fprint.Error.Internal: if there was an internal error