#[non_exhaustive]pub struct StatusPage {
pub status: Var<SetupStatus>,
pub task_infos: Vec<TaskInfo>,
pub task_info_fn: WidgetFn<StatusTaskInfoFnArgs>,
}Expand description
Setup operation status page.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: Var<SetupStatus>The status displayed by the page.
Is SETUP::status by default.
task_infos: Vec<TaskInfo>Display info about setup task components of the operation that will run.
This task list is displayed on the same order as defined, as a check list with individual progress indicator.
If this list is empty or a task is not present only the overall operation progress indicator is shown.
task_info_fn: WidgetFn<StatusTaskInfoFnArgs>Widget that generates the status item for each item in task_infos.
Implementations§
Source§impl StatusPage
impl StatusPage
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for StatusPage
impl !RefUnwindSafe for StatusPage
impl !Unpin for StatusPage
impl !UnwindSafe for StatusPage
impl Send for StatusPage
impl Sync for StatusPage
impl UnsafeUnpin for StatusPage
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
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 moreimpl<T> IpcValue for Twhere
T: Send + 'static,
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.