#[non_exhaustive]pub enum BranchSelection {
All,
None,
Only(Vec<String>),
}Expand description
The calculation types used by solver consumers. The full problem
vocabulary lives in powerio_prob; these types sit at the facade root so
a consumer does not need a second PowerIO dependency to name its boundary.
Which physical branches may change status, by stable branch identity (the
payload uid, else branches:{row}).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
Every physical branch, including the initially open ones.
None
No branch; the topology is fixed.
Only(Vec<String>)
Exactly the named branches. Each identity must name one branch, once.
Implementations§
Trait Implementations§
Source§impl Clone for BranchSelection
impl Clone for BranchSelection
Source§fn clone(&self) -> BranchSelection
fn clone(&self) -> BranchSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BranchSelection
impl Debug for BranchSelection
Source§impl Default for BranchSelection
impl Default for BranchSelection
Source§fn default() -> BranchSelection
fn default() -> BranchSelection
Returns the “default value” for a type. Read more
Source§impl PartialEq for BranchSelection
impl PartialEq for BranchSelection
impl StructuralPartialEq for BranchSelection
Auto Trait Implementations§
impl Freeze for BranchSelection
impl RefUnwindSafe for BranchSelection
impl Send for BranchSelection
impl Sync for BranchSelection
impl Unpin for BranchSelection
impl UnsafeUnpin for BranchSelection
impl UnwindSafe for BranchSelection
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more