Type Alias etest::ResourceId
source · pub type ResourceId = ResourceIdImpl<'static>;Aliased Type§
enum ResourceId {
Id(Cow<'static, str>),
None,
Basic,
}Variants§
Id(Cow<'static, str>)
Normal resource
None
An empty resource which will be ignored.
Used e.g. when generating a list of resources dynamically where some of the resources are optional and can be omitted.
Basic
Basic resource which is used by all tests.
Unless specified else (by the no_default_uses attribute), this
resource will be implicitly added to the “uses” list of every test.
To avoid parallel execution with other ones, a test can add this
resource type to its “consumes” list by the notparallel attribute.