Type Alias DevLoopCompatOption

Source
pub type DevLoopCompatOption<T> = Option<T>;
Expand description

A type-alias to mark fields as temporarily optional to preserve build-to-compat compatibility during internal testing.

i.e: a newly added field should be marked as DevLoopCompatOption until we’re sure that all hosts that we expect this new underhill version to run on are updated to send the new field.

It would be very bad form to ship a library/binary that includes DevLoopCompatOption fields!

Aliased Type§

enum DevLoopCompatOption<T> {
    None,
    Some(T),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(T)

Some value of type T.