76 add transfer struct to appstate #78

Merged
PatrykHegenberg merged 1 commit from 76-add-transfer-struct-to-appstate into 51-implement-local-data-transfer 2024-04-28 13:59:00 +02:00
PatrykHegenberg commented 2024-04-28 13:58:02 +02:00 (Migrated from github.com)

Description

Added the Transfer struct to AppState.

Motivation and Context

To keep hold of all transfers and share them between connections, it is necessary to add the transfer struct to the AppState.
Closes #76 .

How Has This Been Tested?

Adapted unit test for creating new AppState.
Additionally tested manually.

Screenshots / Logs (if applicable)

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (no code change)
  • Refactor (refactoring production code)
  • Other

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have formatted the code with rustfmt.
  • I checked the lints with clippy.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
## Description Added the Transfer struct to AppState. ## Motivation and Context To keep hold of all transfers and share them between connections, it is necessary to add the transfer struct to the AppState. Closes #76 . ## How Has This Been Tested? Adapted unit test for creating new AppState. Additionally tested manually. ## Screenshots / Logs (if applicable) ## Types of Changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [x] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation (no code change) - [ ] Refactor (refactoring production code) - [ ] Other <!--- (provide information) --> ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [x] My code follows the code style of this project. - [x] I have updated the documentation accordingly. - [x] I have formatted the code with [rustfmt](https://github.com/rust-lang/rustfmt). - [x] I checked the lints with [clippy](https://github.com/rust-lang/rust-clippy). - [x] I have added tests to cover my changes. - [x] All new and existing tests passed. <!--- Thank you for contributing! -->
Sign in to join this conversation.
No description provided.