tracing-etw 0.2.3

ETW or Linux user_events output for tokio-tracing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug)]
pub enum EtwError {
    #[error("Provider group GUID must not be zeros")]
    EmptyProviderGroupGuid,
    #[error("Provider group names must be lower case ASCII or numeric digits: {0:?}")]
    InvalidProviderGroupCharacters(String),
    #[error("Linux provider names must be ASCII alphanumeric: {0:?}")]
    InvalidProviderNameCharacters(String),
    #[error("Linux provider name and provider group must less than 234 characters combined. Current length: {0:?}")]
    TooManyCharacters(usize),
}