@@ -221,7 +221,7 @@ pub mod session {
221
221
}
222
222
}
223
223
224
- impl < ' a > ProtocolObjectInner < ' a > for SessionStaticKey {
224
+ impl ProtocolObjectInner < ' _ > for SessionStaticKey {
225
225
fn version ( ) -> ( u16 , u16 ) {
226
226
( 2 , 0 )
227
227
}
@@ -246,7 +246,7 @@ pub mod session {
246
246
}
247
247
}
248
248
249
- impl < ' a > ProtocolObject < ' a > for SessionStaticKey { }
249
+ impl ProtocolObject < ' _ > for SessionStaticKey { }
250
250
251
251
/// A session secret key.
252
252
#[ derive( ZeroizeOnDrop ) ]
@@ -402,7 +402,7 @@ impl ThresholdDecryptionRequest {
402
402
}
403
403
}
404
404
405
- impl < ' a > ProtocolObjectInner < ' a > for ThresholdDecryptionRequest {
405
+ impl ProtocolObjectInner < ' _ > for ThresholdDecryptionRequest {
406
406
fn version ( ) -> ( u16 , u16 ) {
407
407
( 4 , 0 )
408
408
}
@@ -424,7 +424,7 @@ impl<'a> ProtocolObjectInner<'a> for ThresholdDecryptionRequest {
424
424
}
425
425
}
426
426
427
- impl < ' a > ProtocolObject < ' a > for ThresholdDecryptionRequest { }
427
+ impl ProtocolObject < ' _ > for ThresholdDecryptionRequest { }
428
428
429
429
/// An encrypted request for an Ursula to derive a decryption share.
430
430
#[ derive( PartialEq , Debug , Clone , Serialize , Deserialize ) ]
@@ -467,7 +467,7 @@ impl EncryptedThresholdDecryptionRequest {
467
467
}
468
468
}
469
469
470
- impl < ' a > ProtocolObjectInner < ' a > for EncryptedThresholdDecryptionRequest {
470
+ impl ProtocolObjectInner < ' _ > for EncryptedThresholdDecryptionRequest {
471
471
fn version ( ) -> ( u16 , u16 ) {
472
472
( 2 , 0 )
473
473
}
@@ -489,7 +489,7 @@ impl<'a> ProtocolObjectInner<'a> for EncryptedThresholdDecryptionRequest {
489
489
}
490
490
}
491
491
492
- impl < ' a > ProtocolObject < ' a > for EncryptedThresholdDecryptionRequest { }
492
+ impl ProtocolObject < ' _ > for EncryptedThresholdDecryptionRequest { }
493
493
494
494
/// A response from Ursula with a derived decryption share.
495
495
#[ derive( PartialEq , Eq , Debug , Serialize , Deserialize , Clone ) ]
@@ -520,7 +520,7 @@ impl ThresholdDecryptionResponse {
520
520
}
521
521
}
522
522
523
- impl < ' a > ProtocolObjectInner < ' a > for ThresholdDecryptionResponse {
523
+ impl ProtocolObjectInner < ' _ > for ThresholdDecryptionResponse {
524
524
fn version ( ) -> ( u16 , u16 ) {
525
525
( 2 , 0 )
526
526
}
@@ -542,7 +542,7 @@ impl<'a> ProtocolObjectInner<'a> for ThresholdDecryptionResponse {
542
542
}
543
543
}
544
544
545
- impl < ' a > ProtocolObject < ' a > for ThresholdDecryptionResponse { }
545
+ impl ProtocolObject < ' _ > for ThresholdDecryptionResponse { }
546
546
547
547
/// An encrypted response from Ursula with a derived decryption share.
548
548
#[ derive( PartialEq , Debug , Clone , Serialize , Deserialize ) ]
@@ -578,7 +578,7 @@ impl EncryptedThresholdDecryptionResponse {
578
578
}
579
579
}
580
580
581
- impl < ' a > ProtocolObjectInner < ' a > for EncryptedThresholdDecryptionResponse {
581
+ impl ProtocolObjectInner < ' _ > for EncryptedThresholdDecryptionResponse {
582
582
fn version ( ) -> ( u16 , u16 ) {
583
583
( 2 , 0 )
584
584
}
@@ -600,7 +600,7 @@ impl<'a> ProtocolObjectInner<'a> for EncryptedThresholdDecryptionResponse {
600
600
}
601
601
}
602
602
603
- impl < ' a > ProtocolObject < ' a > for EncryptedThresholdDecryptionResponse { }
603
+ impl ProtocolObject < ' _ > for EncryptedThresholdDecryptionResponse { }
604
604
605
605
#[ cfg( test) ]
606
606
mod tests {
0 commit comments