#[non_exhaustive]pub enum BranchSelection {
All,
None,
Only(Vec<String>),
}Expand description
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§impl Debug for BranchSelection
impl Debug for BranchSelection
Source§impl Default for BranchSelection
impl Default for BranchSelection
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§
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