diff options
author | Eliza Weisman <eliza@buoyant.io> | 2019-03-18 12:44:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-18 12:44:46 -0700 |
commit | 85487727d41574020793fbe0025a9dafc4890a70 (patch) | |
tree | 5457f8a5b36382e622546d002f843f0ae24bd055 /tokio-codec/Cargo.toml | |
parent | 92d51202ef5e6b99004d77300de1aba0f8835513 (diff) |
trace: Span API polish (#988)
This branch makes the following changes to `tokio-trace`'s `Span` type:
* **Remove manual close API from spans**
In practice, there wasn't really a use-case for this, and it
complicates the implementation a bit. We can always add it back later.
* **Remove generic lifetime from `Span`**
Again, there wasn't actually a use-case for spans with metadata that
doesn't live for the static lifetime, and it made using `Span`s in
other types somewhat inconvenient. It's also possible to implement an
alternative API for non-static spans on top of the `tokio-trace-core`
primitives.
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Diffstat (limited to 'tokio-codec/Cargo.toml')
0 files changed, 0 insertions, 0 deletions