@@ -26,6 +26,7 @@ use core::future::Future;
26
26
27
27
type IotaAddressRaw = [ u8 ; IOTA_ADDRESS_LENGTH ] ;
28
28
29
+ #[ allow( dead_code) ]
29
30
pub struct IotaPubKeyAddress ( ledger_device_sdk:: ecc:: ECPublicKey < 65 , 'E' > , IotaAddressRaw ) ;
30
31
31
32
impl Address < IotaPubKeyAddress , ledger_device_sdk:: ecc:: ECPublicKey < 65 , 'E' > >
@@ -119,7 +120,10 @@ impl HasOutput<CallArgSchema> for DefaultInterp {
119
120
}
120
121
121
122
impl < BS : Clone + Readable > AsyncParser < CallArgSchema , BS > for DefaultInterp {
122
- type State < ' c > = impl Future < Output = Self :: Output > + ' c where BS : ' c ;
123
+ type State < ' c >
124
+ = impl Future < Output = Self :: Output > + ' c
125
+ where
126
+ BS : ' c ;
123
127
fn parse < ' a : ' c , ' b : ' c , ' c > ( & ' b self , input : & ' a mut BS ) -> Self :: State < ' c > {
124
128
async move {
125
129
let enum_variant =
@@ -210,7 +214,10 @@ impl HasOutput<CommandSchema> for DefaultInterp {
210
214
}
211
215
212
216
impl < BS : Clone + Readable > AsyncParser < CommandSchema , BS > for DefaultInterp {
213
- type State < ' c > = impl Future < Output = Self :: Output > + ' c where BS : ' c ;
217
+ type State < ' c >
218
+ = impl Future < Output = Self :: Output > + ' c
219
+ where
220
+ BS : ' c ;
214
221
fn parse < ' a : ' c , ' b : ' c , ' c > ( & ' b self , input : & ' a mut BS ) -> Self :: State < ' c > {
215
222
async move {
216
223
let enum_variant =
@@ -270,7 +277,10 @@ impl HasOutput<ArgumentSchema> for DefaultInterp {
270
277
}
271
278
272
279
impl < BS : Clone + Readable > AsyncParser < ArgumentSchema , BS > for DefaultInterp {
273
- type State < ' c > = impl Future < Output = Self :: Output > + ' c where BS : ' c ;
280
+ type State < ' c >
281
+ = impl Future < Output = Self :: Output > + ' c
282
+ where
283
+ BS : ' c ;
274
284
fn parse < ' a : ' c , ' b : ' c , ' c > ( & ' b self , input : & ' a mut BS ) -> Self :: State < ' c > {
275
285
async move {
276
286
let enum_variant =
@@ -325,7 +335,10 @@ impl<const PROMPT: bool> HasOutput<ProgrammableTransaction<PROMPT>>
325
335
impl < BS : Clone + Readable , const PROMPT : bool > AsyncParser < ProgrammableTransaction < PROMPT > , BS >
326
336
for ProgrammableTransaction < PROMPT >
327
337
{
328
- type State < ' c > = impl Future < Output = Self :: Output > + ' c where BS : ' c ;
338
+ type State < ' c >
339
+ = impl Future < Output = Self :: Output > + ' c
340
+ where
341
+ BS : ' c ;
329
342
fn parse < ' a : ' c , ' b : ' c , ' c > ( & ' b self , input : & ' a mut BS ) -> Self :: State < ' c > {
330
343
async move {
331
344
let mut recipient = None ;
@@ -522,7 +535,10 @@ impl<const PROMPT: bool> HasOutput<TransactionKind<PROMPT>> for TransactionKind<
522
535
impl < BS : Clone + Readable , const PROMPT : bool > AsyncParser < TransactionKind < PROMPT > , BS >
523
536
for TransactionKind < PROMPT >
524
537
{
525
- type State < ' c > = impl Future < Output = Self :: Output > + ' c where BS : ' c ;
538
+ type State < ' c >
539
+ = impl Future < Output = Self :: Output > + ' c
540
+ where
541
+ BS : ' c ;
526
542
fn parse < ' a : ' c , ' b : ' c , ' c > ( & ' b self , input : & ' a mut BS ) -> Self :: State < ' c > {
527
543
async move {
528
544
let enum_variant =
@@ -578,7 +594,10 @@ impl HasOutput<TransactionExpiration> for DefaultInterp {
578
594
}
579
595
580
596
impl < BS : Clone + Readable > AsyncParser < TransactionExpiration , BS > for DefaultInterp {
581
- type State < ' c > = impl Future < Output = Self :: Output > + ' c where BS : ' c ;
597
+ type State < ' c >
598
+ = impl Future < Output = Self :: Output > + ' c
599
+ where
600
+ BS : ' c ;
582
601
fn parse < ' a : ' c , ' b : ' c , ' c > ( & ' b self , input : & ' a mut BS ) -> Self :: State < ' c > {
583
602
async move {
584
603
let enum_variant =
@@ -664,7 +683,10 @@ impl<const PROMPT: bool> HasOutput<TransactionData<PROMPT>> for TransactionData<
664
683
impl < BS : Clone + Readable , const PROMPT : bool > AsyncParser < TransactionData < PROMPT > , BS >
665
684
for TransactionData < PROMPT >
666
685
{
667
- type State < ' c > = impl Future < Output = Self :: Output > + ' c where BS : ' c ;
686
+ type State < ' c >
687
+ = impl Future < Output = Self :: Output > + ' c
688
+ where
689
+ BS : ' c ;
668
690
fn parse < ' a : ' c , ' b : ' c , ' c > ( & ' b self , input : & ' a mut BS ) -> Self :: State < ' c > {
669
691
async move {
670
692
let enum_variant =
0 commit comments