pub struct UiSelection {Show 26 fields
pub list_state: ListState,
pub key_picker: PickerState,
pub password_picker: PickerState,
pub proxyjump_picker: PickerState,
pub vault_role_picker: PickerState,
pub tag_picker_state: ListState,
pub bulk_tag_editor_state: ListState,
pub theme_picker: ThemePickerState,
pub provider_list_state: ListState,
pub tunnel_list_state: ListState,
pub tunnels_overview_state: ListState,
pub containers_overview_state: ListState,
pub tunnel_host_picker_state: ListState,
pub tunnel_host_picker_query: String,
pub container_host_picker_state: ListState,
pub container_host_picker_query: String,
pub snippet_picker_state: ListState,
pub snippet_search: Option<String>,
pub region_picker: RegionPickerState,
pub help_scroll: u16,
pub detail_scroll: u16,
pub detail_toggle_pending: bool,
pub welcome_opened: Option<Instant>,
pub esc_quit_hint_shown: bool,
pub known_hosts_count: usize,
pub pending_connect: Option<(String, Option<String>)>,
}Fields§
§list_state: ListState§key_picker: PickerState§password_picker: PickerState§proxyjump_picker: PickerState§vault_role_picker: PickerState§tag_picker_state: ListState§bulk_tag_editor_state: ListState§theme_picker: ThemePickerState§provider_list_state: ListState§tunnel_list_state: ListState§tunnels_overview_state: ListState§containers_overview_state: ListState§tunnel_host_picker_state: ListStateCursor for the host picker reached from the tunnels overview when adding a new tunnel. Indexes into the editable-hosts slice built at render time (hosts from included files are excluded).
tunnel_host_picker_query: StringLive fuzzy-search query for the tunnel host picker. Always-on input mode: every printable keystroke appends to the query and shrinks the candidate set. Empty string means “show all”.
container_host_picker_state: ListStateCursor + live query for the containers-tab a host picker.
Mirrors the tunnel host picker pair; kept separate so the two
pickers can be open back-to-back without state bleed.
container_host_picker_query: String§snippet_picker_state: ListState§snippet_search: Option<String>§region_picker: RegionPickerState§help_scroll: u16§detail_scroll: u16§detail_toggle_pending: boolSet by handler, consumed by AnimationState to trigger detail panel transition.
welcome_opened: Option<Instant>Tracks when the welcome screen was opened to auto-dismiss it.
esc_quit_hint_shown: boolSet once the first time Esc-on-empty-list hint is shown per process.
known_hosts_count: usizeWelcome-screen heuristic: number of known hosts at last render.
pending_connect: Option<(String, Option<String>)>Pending SSH dispatch queued by connect actions; consumed by the event loop.
Implementations§
Source§impl UiSelection
impl UiSelection
Sourcepub fn new_with_initial_selection(initial: Option<usize>) -> Self
pub fn new_with_initial_selection(initial: Option<usize>) -> Self
Construct with all picker/list state defaulted and the host list
selection pre-positioned at initial (the first selectable host or
pattern in the display list).
Sourcepub fn queue_connect(&mut self, alias: String, askpass: Option<String>)
pub fn queue_connect(&mut self, alias: String, askpass: Option<String>)
Queue an SSH connect for the event loop to pick up via the next
pending_connect.take(). askpass carries the resolved per-host
password source so the event loop can prepare a SSH_ASKPASS env
before spawning the child.
Sourcepub fn open_snippet_search(&mut self)
pub fn open_snippet_search(&mut self)
Enter snippet picker search mode with an empty query.
Sourcepub fn close_snippet_search(&mut self)
pub fn close_snippet_search(&mut self)
Exit snippet picker search mode. Idempotent.
Trait Implementations§
Source§impl Debug for UiSelection
impl Debug for UiSelection
Source§impl Default for UiSelection
impl Default for UiSelection
Source§fn default() -> UiSelection
fn default() -> UiSelection
Auto Trait Implementations§
impl Freeze for UiSelection
impl RefUnwindSafe for UiSelection
impl Send for UiSelection
impl Sync for UiSelection
impl Unpin for UiSelection
impl UnsafeUnpin for UiSelection
impl UnwindSafe for UiSelection
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more