pub struct Domain(_);
Expand description

A domain enables tagging trace data for different modules or libraries in a program. See the Domain API documentation for more information.

Implementations

Create a new domain. Note that, if the ittnotify library is not initialized, this call will succeed but the domain will be invalid; see discussion TODO.

let domain = Domain::new("test-domain");

Trait Implementations

As discussed in the ITT documentation, the __itt_domain structure is accessible by any thread in the process.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.