pub enum GlobalMode {
Show 16 variants
Normal,
CmdLine {
cmd_line: String,
},
HostPicker {
entries: Vec<(String, String)>,
selected: usize,
},
BackendPicker {
entries: Vec<(Backend, Option<String>)>,
selected: usize,
},
Confirmation {
selected: bool,
kind: ConfirmationKind,
},
RpcManager,
About,
MaxConcurrentPicker {
value: String,
},
SpecTypePicker {
entries: Vec<String>,
selected: usize,
},
YarnRoPESettings {
scale: String,
freq_base: String,
freq_scale: String,
selected_field: i32,
editing: bool,
edit_buffer: String,
edit_cursor_pos: usize,
},
BenchTuneSetup {
config: BenchTuneConfig,
selected_idx: usize,
editing_param: bool,
editing_param_field: i32,
param_edit_buffer: String,
param_edit_cursor_pos: usize,
bench_mode_selection: usize,
editing_prompt: bool,
editing_kwargs: bool,
},
PromptPicker {
entries: Vec<(String, String)>,
selected: usize,
editing: bool,
edit_buffer: String,
edit_cursor_pos: usize,
confirm_delete: bool,
},
ProfilePicker {
entries: Vec<(String, String)>,
selected: usize,
profiles: Vec<Profile>,
},
DashboardPicker {
enabled: bool,
port: String,
auth_key: String,
tls_enabled: bool,
tls_cert: String,
tls_key: String,
selected_field: i32,
editing: bool,
edit_buffer: String,
edit_cursor_pos: usize,
},
DashboardUrl {
host: String,
port: String,
auth_key: String,
ws_enabled: bool,
tls_enabled: bool,
},
SearchInput {
buffer: String,
cursor_pos: usize,
},
}Expand description
Global mode that overlays all panels.
Variants§
Normal
CmdLine
HostPicker
BackendPicker
Confirmation
RpcManager
About
MaxConcurrentPicker
SpecTypePicker
YarnRoPESettings
Fields
BenchTuneSetup
Fields
§
config: BenchTuneConfigPromptPicker
Fields
ProfilePicker
DashboardPicker
Fields
DashboardUrl
SearchInput
Trait Implementations§
Source§impl Clone for GlobalMode
impl Clone for GlobalMode
Source§fn clone(&self) -> GlobalMode
fn clone(&self) -> GlobalMode
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 GlobalMode
impl Debug for GlobalMode
Source§impl PartialEq for GlobalMode
impl PartialEq for GlobalMode
Source§fn eq(&self, other: &GlobalMode) -> bool
fn eq(&self, other: &GlobalMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GlobalMode
Auto Trait Implementations§
impl Freeze for GlobalMode
impl RefUnwindSafe for GlobalMode
impl Send for GlobalMode
impl Sync for GlobalMode
impl Unpin for GlobalMode
impl UnsafeUnpin for GlobalMode
impl UnwindSafe for GlobalMode
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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