diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-10-26 16:47:29 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-10-26 16:47:29 +0200 |
| commit | eeb072d9cbc457892c58670ca6fefacf8c80a32b (patch) | |
| tree | 239a33833fcbe4c15cd3515d1b736afaee06c048 /embassy-nrf/src/buffered_uarte.rs | |
| parent | 1b249ca72d67a4ff8491b9b548be4afe8c7c2db0 (diff) | |
Update Rust nightly.
Diffstat (limited to 'embassy-nrf/src/buffered_uarte.rs')
| -rw-r--r-- | embassy-nrf/src/buffered_uarte.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/embassy-nrf/src/buffered_uarte.rs b/embassy-nrf/src/buffered_uarte.rs index 6e85a159f..9c8fe65f4 100644 --- a/embassy-nrf/src/buffered_uarte.rs +++ b/embassy-nrf/src/buffered_uarte.rs | |||
| @@ -341,7 +341,7 @@ impl<'u, 'd, U: UarteInstance, T: TimerInstance> embedded_io::Io for BufferedUar | |||
| 341 | } | 341 | } |
| 342 | 342 | ||
| 343 | impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for BufferedUarte<'d, U, T> { | 343 | impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for BufferedUarte<'d, U, T> { |
| 344 | type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> | 344 | type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a |
| 345 | where | 345 | where |
| 346 | Self: 'a; | 346 | Self: 'a; |
| 347 | 347 | ||
| @@ -351,7 +351,7 @@ impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for Buffe | |||
| 351 | } | 351 | } |
| 352 | 352 | ||
| 353 | impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for BufferedUarteRx<'u, 'd, U, T> { | 353 | impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read for BufferedUarteRx<'u, 'd, U, T> { |
| 354 | type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> | 354 | type ReadFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a |
| 355 | where | 355 | where |
| 356 | Self: 'a; | 356 | Self: 'a; |
| 357 | 357 | ||
| @@ -361,7 +361,7 @@ impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Read f | |||
| 361 | } | 361 | } |
| 362 | 362 | ||
| 363 | impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for BufferedUarte<'d, U, T> { | 363 | impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for BufferedUarte<'d, U, T> { |
| 364 | type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> | 364 | type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> + 'a |
| 365 | where | 365 | where |
| 366 | Self: 'a; | 366 | Self: 'a; |
| 367 | 367 | ||
| @@ -375,7 +375,7 @@ impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for Bu | |||
| 375 | } | 375 | } |
| 376 | 376 | ||
| 377 | impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for BufferedUarteRx<'u, 'd, U, T> { | 377 | impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRead for BufferedUarteRx<'u, 'd, U, T> { |
| 378 | type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> | 378 | type FillBufFuture<'a> = impl Future<Output = Result<&'a [u8], Self::Error>> + 'a |
| 379 | where | 379 | where |
| 380 | Self: 'a; | 380 | Self: 'a; |
| 381 | 381 | ||
| @@ -389,7 +389,7 @@ impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::BufRea | |||
| 389 | } | 389 | } |
| 390 | 390 | ||
| 391 | impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for BufferedUarte<'d, U, T> { | 391 | impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for BufferedUarte<'d, U, T> { |
| 392 | type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> | 392 | type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a |
| 393 | where | 393 | where |
| 394 | Self: 'a; | 394 | Self: 'a; |
| 395 | 395 | ||
| @@ -397,7 +397,7 @@ impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for Buff | |||
| 397 | self.inner_write(buf) | 397 | self.inner_write(buf) |
| 398 | } | 398 | } |
| 399 | 399 | ||
| 400 | type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> | 400 | type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a |
| 401 | where | 401 | where |
| 402 | Self: 'a; | 402 | Self: 'a; |
| 403 | 403 | ||
| @@ -407,7 +407,7 @@ impl<'d, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for Buff | |||
| 407 | } | 407 | } |
| 408 | 408 | ||
| 409 | impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for BufferedUarteTx<'u, 'd, U, T> { | 409 | impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write for BufferedUarteTx<'u, 'd, U, T> { |
| 410 | type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> | 410 | type WriteFuture<'a> = impl Future<Output = Result<usize, Self::Error>> + 'a |
| 411 | where | 411 | where |
| 412 | Self: 'a; | 412 | Self: 'a; |
| 413 | 413 | ||
| @@ -415,7 +415,7 @@ impl<'u, 'd: 'u, U: UarteInstance, T: TimerInstance> embedded_io::asynch::Write | |||
| 415 | self.inner.inner_write(buf) | 415 | self.inner.inner_write(buf) |
| 416 | } | 416 | } |
| 417 | 417 | ||
| 418 | type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> | 418 | type FlushFuture<'a> = impl Future<Output = Result<(), Self::Error>> + 'a |
| 419 | where | 419 | where |
| 420 | Self: 'a; | 420 | Self: 'a; |
| 421 | 421 | ||
