Enum immutable_seq::lazy::ThunkResult [] [src]

pub enum ThunkResult<T> {
    Value(T),
    Redirect(Thunk<T>),
}

Represents the two possible things a Thunk<T> can return: either a T value, or another Thunk<T>.

Variants

Trait Implementations

impl<T: Debug> Debug for ThunkResult<T>
[src]

Formats the value using the given formatter.