pub enum CliState {
Inactive,
LoggedIn,
}Expand description
CLI state (authentication state).
Tracks whether the CLI is active and whether user is authenticated. Used by unified architecture pattern to drive behavior.
Variants§
Trait Implementations§
impl Copy for CliState
impl Eq for CliState
impl StructuralPartialEq for CliState
Auto Trait Implementations§
impl Freeze for CliState
impl RefUnwindSafe for CliState
impl Send for CliState
impl Sync for CliState
impl Unpin for CliState
impl UnwindSafe for CliState
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