-
Notifications
You must be signed in to change notification settings - Fork 35
Pass Activity ID through instrument #62
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
Conversation
|
@microsoft-github-policy-service agree company="Microsoft" |
|
@sivadeilra could you please review? |
|
Ahhh, sorry. This dropped off my radar. Could you sync to latest and rebase? I'll get to this ASAP after that. |
|
@sivadeilra Done |
win_etw_provider/src/guid.rs
Outdated
| } | ||
|
|
||
| #[cfg(feature = "uuid")] | ||
| impl From<&str> for GUID { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be TryFrom. From is for conversions that cannot fail.
If you want to have const constructors for GUID, then we need a different way to handle that. But From impls are expected not to panic.
|
Hey, thanks for rebasing. The only thing I think needs to be fixed is for the From impl to become a TryFrom impl. I'll be happy to merge this tomorrow with that fixed. |
|
@sivadeilra Thank you, good call. Fixed it. |
|
@sivadeilra could you please review? |
|
Sorry, I was out sick for about a week. Approved and merged. I'll get this published shortly. |
|
Published updates. Thanks for the contribution! |
The code allows to pass Activity ID as one of the attributes in instruments.