Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

io: add get_{ref,mut} methods to AsyncFdReadyGuard and AsyncFdReadyMutGuard. #3807

Merged
merged 3 commits into from Jun 16, 2021

Commits on May 22, 2021

  1. io: add get_{ref,mut} methods to AsyncFdReadyGuard and AsyncFdReadyMu…

    …tGuard.
    
    The only way to use AsyncFdReadyMutGuard currently is through try_io,
    since it is impossible to access the underlying object. In some
    situations, it is desirable to use clear_ready and retain_ready directly
    instead of try_io. Enable this by adding get_ref and get_mut methods.
    Thomas Bächler committed May 22, 2021
    Copy the full SHA
    b42bcb9 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. io: add get_inner{,_mut} methods to AsyncFdReadyGuard and AsyncFdRead…

    …yMutGuard.
    Thomas Bächler committed May 26, 2021
    Copy the full SHA
    9465943 View commit details
    Browse the repository at this point in the history
  2. io: move {AsyncFdReadyGuard,AsyncFdReadyMutGuard}::get_* to the botto…

    …m of the impl block.
    Thomas Bächler committed May 26, 2021
    Copy the full SHA
    641149d View commit details
    Browse the repository at this point in the history