pub enum Target {
Workflow {
namespace: String,
run_id: String,
},
Row(usize),
Command(String),
Pane(u64),
Query(String),
Namespace(String),
}Expand description
What accepting an entry means.
Deliberately a small closed set of outcomes rather than one variant per picker: two
pickers that both end in “put the cursor on a row” should not need two code paths to do
it. <leader>fl and a future <leader>fs are both Target::Row.
Variants§
Workflow
Open this workflow’s history. Namespace and run id, because a run id is only unique within a namespace and a picker can be fanned out over several.
Row(usize)
Put the cursor on this row of the screen the picker was opened from.
Command(String)
Run this command id.
Pane(u64)
Focus this pane.
Query(String)
Write this text into the query bar, leaving it editable.
Namespace(String)
Point this pane at a namespace and show its workflows.
Trait Implementations§
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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