Enum adapton::reflect::trace::ForceCase [] [src]

pub enum ForceCase {
    CompCacheMiss,
    CompCacheHit,
    RefGet,
}

When the program forces a computation, either the cache is either empty (CacheMiss) or non-empty (CacheHit). The cached value may not be consistent without a cleaning. When the program forces a reference cell, it simply gets the current value.

Variants

The DCG has no cached value for this computation; no prior computation will be reused.

The DCG has a cached value for this computation; it may not be consistent without a cleaning first.

The forced node is a ref cell with a (mutable) value, and hence, no computation was necessary. The force simply gets the current value.

Trait Implementations

impl Clone for ForceCase
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ForceCase
[src]

[src]

Formats the value using the given formatter.