Skip to content

std/tokio simple: timeout not working, it is actually None on Drop #12

@beckend

Description

@beckend

https://github.com/t3hmrman/async-dropper/blob/main/crates/async-dropper-simple/src/lib.rs#L65

This line will replace self with Default impl and timeout becomes None: https://github.com/t3hmrman/async-dropper/blob/main/crates/async-dropper-simple/src/lib.rs#L61

Also as a note, adding Deref and Derefmut would be desirable to get the inner otherwise this Struct is less useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions