pub enum Source {
Reused(PathBuf),
Fresh(Option<PathBuf>),
}Expand description
Where the token this run is using came from.
Reported rather than left to be inferred, so the startup banner can say which happened. Otherwise a reader has to compare a hex string against whatever their browser is holding in order to find out whether they need to paste it again.
Variants§
Reused(PathBuf)
Read back from a previous run, so a browser that already has it stays connected.
Fresh(Option<PathBuf>)
Newly minted, and written where the path says — or nowhere, if that failed.
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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