pub struct StatusArgs {
pub json: bool,
pub addr: Option<String>,
}Expand description
Live cluster run status.
Fetches the controller’s state.json (membership + lifecycle
phase, served on the training port itself) and pretty-prints it.
Live for the whole run, join window included: shows who has joined
while the world is still forming.
Exit code: 0 when the state was fetched; 1 when no endpoint answered (usually: no run is up).
Fields§
§json: boolEmit the raw state.json body instead of the human summary.
addr: Option<String>Controller address to query, host[:port] (default port 1337).
Overrides the active env’s cluster.controller. This is all a
self-deployed worker’s operator needs to watch a run.
Trait Implementations§
Source§impl Debug for StatusArgs
impl Debug for StatusArgs
Source§impl FdlArgsTrait for StatusArgs
impl FdlArgsTrait for StatusArgs
Source§fn try_parse_from(args: &[String]) -> Result<Self, String>
fn try_parse_from(args: &[String]) -> Result<Self, String>
Parse from an explicit argv slice. First element is the program
name (ignored), following elements are flags/values/positionals.
Source§fn render_help() -> String
fn render_help() -> String
Render
--help to a string.Source§fn render_help_path(argv: &[String]) -> String
fn render_help_path(argv: &[String]) -> String
Render
--help for a specific argv path (program name first, then
the tokens typed). The default ignores the path and returns
Self::render_help — correct for a single struct, whose help is
context-free. Read moreAuto Trait Implementations§
impl Freeze for StatusArgs
impl RefUnwindSafe for StatusArgs
impl Send for StatusArgs
impl Sync for StatusArgs
impl Unpin for StatusArgs
impl UnsafeUnpin for StatusArgs
impl UnwindSafe for StatusArgs
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