Struct realize::meta::Reality [] [src]

pub struct Reality { /* fields omitted */ }

A meta-resource that ensures that other resources are realized, in the correct dependency order.

Methods

impl Reality
[src]

Constructs a new reality that logs to the specified logger.

Adds a resource to be realized (including its dependencies) when this reality is realized.

Trait Implementations

impl Debug for Reality
[src]

Formats the value using the given formatter.

impl Resource for Reality
[src]

The key of this resource, that distinguishes it from other resources of the same type. For files, this might be the file path, for example. Read more

Realizes this resource, performing any needed operations on the target system. Read more

Verifies whether this resource is already realized on the target system. This will potentially perform a lot of IO operations but should not make any changes. Read more

Converts this resource into an opaque Any reference.

impl Ensurer for Reality
[src]

Ensures that the specified resource is realized, including its unresolved dependencies. Read more

impl Display for Reality
[src]

Formats the value using the given formatter. Read more