Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Apr 9, 2024
1 parent 201813a commit 548627d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/delivery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ impl Delivery {
}

pub async fn wait(&self) -> Result<Option<DeliveryState>, AmqpProtocolError> {
if self.0.flags.get().contains(Flags::LOCAL_SETTLED) {

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / stable - x86_64-unknown-linux-gnu

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / stable - x86_64-apple-darwin

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / 1.75.0 - x86_64-unknown-linux-gnu

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / nightly - x86_64-unknown-linux-gnu

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / nightly - x86_64-apple-darwin

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / clippy

no field `0` on type `&delivery::Delivery`

error[E0609]: no field `0` on type `&delivery::Delivery` --> src/delivery.rs:137:17 | 137 | if self.0.flags.get().contains(Flags::LOCAL_SETTLED) { | ^ unknown field | = note: available fields are: `id`, `session`, `flags`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / stable - x86_64-unknown-linux-gnu

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / nightly - x86_64-unknown-linux-gnu

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / 1.75.0 - x86_64-unknown-linux-gnu

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / stable - x86_64-apple-darwin

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / nightly - x86_64-apple-darwin

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / nightly - x86_64-pc-windows-msvc

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / nightly - x86_64-pc-windows-msvc

no field `0` on type `&Delivery`

Check failure on line 137 in src/delivery.rs

View workflow job for this annotation

GitHub Actions / stable - x86_64-pc-windows-msvc

no field `0` on type `&Delivery`
return Ok(None);
}

let rx = if let Some(inner) = self
.session
.inner
Expand Down

0 comments on commit 548627d

Please sign in to comment.