pub struct WatchedSignIn { /* private fields */ }Expand description
The same sign-in, watched rather than inherited: an app has no terminal to hand over, so it reads what the tool prints and can type a fallback code back where the tool asks for one.
Implementations§
Source§impl WatchedSignIn
impl WatchedSignIn
Sourcepub fn provider(&self) -> ProviderId
pub fn provider(&self) -> ProviderId
Which tool’s sign-in this is.
Sourcepub fn said(&self) -> Said
pub fn said(&self) -> Said
What the tool says, for a reader on a thread of its own that must not hold up a paste or a cancel while it waits.
Sourcepub fn paste(&mut self, line: &str) -> Result<()>
pub fn paste(&mut self, line: &str) -> Result<()>
Types a line back, for a code the tool asks to be pasted when the browser cannot reach its callback.
Auto Trait Implementations§
impl !RefUnwindSafe for WatchedSignIn
impl !UnwindSafe for WatchedSignIn
impl Freeze for WatchedSignIn
impl Send for WatchedSignIn
impl Sync for WatchedSignIn
impl Unpin for WatchedSignIn
impl UnsafeUnpin for WatchedSignIn
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