@@ -114,7 +114,7 @@ impl <'a> FprintDevice<'a> {
114114 true
115115 } ) . or ( fail ( "fprintd: unable to listen for signal" ) ) ?;
116116
117- self . proxy . method_call ( FPRINTD_DEVICE_IFACE , "VerifyStart" , ( "any" , ) )
117+ self . proxy . method_call :: < ( ) , _ , _ , _ > ( FPRINTD_DEVICE_IFACE , "VerifyStart" , ( "any" , ) )
118118 . or ( fail ( "fprintd: unable to start fingerprint verification" ) ) ?;
119119
120120 eprintln ! ( "place your finger on the fingerprint reader" ) ;
@@ -129,15 +129,15 @@ impl <'a> FprintDevice<'a> {
129129 if let Some ( status) = * scan_status_clone. lock ( ) . unwrap ( ) {
130130 match status {
131131 Status :: Match => {
132- self . proxy . method_call ( FPRINTD_DEVICE_IFACE , "VerifyStop" , ( ) )
132+ self . proxy . method_call :: < ( ) , _ , _ , _ > ( FPRINTD_DEVICE_IFACE , "VerifyStop" , ( ) )
133133 . or ( fail ( "fprintd: unable to stop fingerprint verification" ) ) ?;
134134 return Ok ( true )
135135 } ,
136136 Status :: NoMatch => {
137137 eprintln ! ( "fingerprint not recognized, try again" ) ;
138- self . proxy . method_call ( FPRINTD_DEVICE_IFACE , "VerifyStop" , ( ) )
138+ self . proxy . method_call :: < ( ) , _ , _ , _ > ( FPRINTD_DEVICE_IFACE , "VerifyStop" , ( ) )
139139 . or ( fail ( "fprintd: unable to stop fingerprint verification" ) ) ?;
140- self . proxy . method_call ( FPRINTD_DEVICE_IFACE , "VerifyStart" , ( "any" , ) )
140+ self . proxy . method_call :: < ( ) , _ , _ , _ > ( FPRINTD_DEVICE_IFACE , "VerifyStart" , ( "any" , ) )
141141 . or ( fail ( "fprintd: unable to restart fingerprint verification" ) ) ?;
142142 } ,
143143 Status :: RetryScan | Status :: SwipeTooShort | Status :: FingerNotCentered | Status :: RemoveAndRetry => {
@@ -148,15 +148,15 @@ impl <'a> FprintDevice<'a> {
148148 return fail ( "fprintd: fingerprint reader disconnected" )
149149 } ,
150150 Status :: UnknownError => {
151- self . proxy . method_call ( FPRINTD_DEVICE_IFACE , "VerifyStop" , ( ) )
151+ self . proxy . method_call :: < ( ) , _ , _ , _ > ( FPRINTD_DEVICE_IFACE , "VerifyStop" , ( ) )
152152 . or ( fail ( "fprintd: unable to stop fingerprint verification" ) ) ?;
153153 return fail ( "fprintd: fingerprint scan failed with unknown error" )
154154 } ,
155155 }
156156
157157 }
158158 }
159- self . proxy . method_call ( FPRINTD_DEVICE_IFACE , "VerifyStop" , ( ) )
159+ self . proxy . method_call :: < ( ) , _ , _ , _ > ( FPRINTD_DEVICE_IFACE , "VerifyStop" , ( ) )
160160 . or ( fail ( "fprintd: unable to stop fingerprint verification" ) ) ?;
161161 Ok ( false )
162162 }
@@ -175,7 +175,7 @@ impl <'a> FprintDevice<'a> {
175175 device_path,
176176 Duration :: from_secs ( 10 ) ,
177177 ) ;
178- proxy. method_call ( FPRINTD_DEVICE_IFACE , "Claim" , ( "" , ) )
178+ proxy. method_call :: < ( ) , _ , _ , _ > ( FPRINTD_DEVICE_IFACE , "Claim" , ( "" , ) )
179179 . or ( Err ( super :: Error :: ImplementationSpecificError ( "fprintd: unable to claim device" . to_owned ( ) ) ) ) ?;
180180 Ok ( FprintDevice { proxy, connection : conn } )
181181 }
0 commit comments