peace_cmd/scopes/type_params/
flow_selection.rs

1use own::OwnedOrRef;
2use peace_rt_model::Flow;
3
4/// A `Flow` is not yet selected.
5#[derive(Clone, Debug, PartialEq, Eq)]
6pub struct FlowNotSelected;
7
8/// A `Flow` is selected.
9#[derive(Debug)]
10pub struct FlowSelected<'ctx, E>(pub(crate) OwnedOrRef<'ctx, Flow<E>>);