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

Add IoSource #1195

Closed
wants to merge 2 commits into from
Closed

Add IoSource #1195

wants to merge 2 commits into from

Commits on Dec 18, 2019

  1. Don't implement event::Source for all type DerefMut<Target = event::S…

    …ource>
    
    This prevents wrapper types to implement DerefMut and event::Source,
    while the inner type also implement event::Source as that will result in
    conflicting trait implementations. Perhaps when specialisation is stable
    this can be reverted.
    
    This is required to implement DerefMut for IoSource.
    
    Effectively reverts commit 8397102.
    Thomasdezeeuw committed Dec 18, 2019
    Configuration menu
    Copy the full SHA
    61b2f39 View commit details
    Browse the repository at this point in the history
  2. Add IoSource

    IoSource is a wrapper around a raw file descriptor or socket that
    implements event::Source.
    Thomasdezeeuw committed Dec 18, 2019
    Configuration menu
    Copy the full SHA
    fa26d28 View commit details
    Browse the repository at this point in the history