pub struct Showing<'a> {
pub timeout: Duration,
pub wrong_try: WrongTry<'a>,
}Expand description
How a code that this device shows waits for the device that types it: for up to timeout
from when it is shown, telling wrong_try of each try that fails before it matches.
Fields§
§timeout: DurationHow long the code works.
wrong_try: WrongTry<'a>What is told of each try that failed before the code matched, but the last.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Showing<'a>
impl<'a> !Send for Showing<'a>
impl<'a> !Sync for Showing<'a>
impl<'a> !UnwindSafe for Showing<'a>
impl<'a> Forget for Showing<'a>
impl<'a> Freeze for Showing<'a>
impl<'a> Move for Showing<'a>
impl<'a> Unpin for Showing<'a>
impl<'a> UnsafeUnpin for Showing<'a>
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