pub enum RunOutcome {
Token(String),
Updated {
paths: Vec<PathBuf>,
git_status: Option<GitStatus>,
bun_env_git_status: Option<GitStatus>,
},
}Expand description
Useful result of a library authentication run, with presentation left to callers.
Variants§
Token(String)
The requested token, with no configuration files modified.
Updated
Paths replaced, and the Git safety status for local credentials if applicable.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunOutcome
impl RefUnwindSafe for RunOutcome
impl Send for RunOutcome
impl Sync for RunOutcome
impl Unpin for RunOutcome
impl UnsafeUnpin for RunOutcome
impl UnwindSafe for RunOutcome
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