pub enum TokenSource {
Env(String),
Stored(String),
}Expand description
Where the active token came from. A managed box is provisioned with
RYRA_TOKEN in its env; a self-hoster stores one via ryra account login.
Variants§
Env(String)
From the RYRA_TOKEN environment variable (managed box / CI).
Stored(String)
From the stored credentials file (ryra account login).
Implementations§
Auto Trait Implementations§
impl Freeze for TokenSource
impl RefUnwindSafe for TokenSource
impl Send for TokenSource
impl Sync for TokenSource
impl Unpin for TokenSource
impl UnsafeUnpin for TokenSource
impl UnwindSafe for TokenSource
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