pub struct Waiting<'a> {
pub showing: Showing<'a>,
pub stop: &'a AtomicBool,
pub give_secrets: bool,
pub device: &'a NewDevice,
}Expand description
How pairing with a closed library waits: as showing says, until stop is set; whether
it gives the secrets to a new replica that asks for them, and what the new device is, a
computer or a phone, and which spaces it gets, as the person chose.
Fields§
§showing: Showing<'a>How long the code works, and what is told of its wrong tries.
stop: &'a AtomicBoolSet, it stops waiting.
give_secrets: boolWhether it gives the secrets, which the closed library keeps.
device: &'a NewDeviceWhat the new device is, and which spaces it gets.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Waiting<'a>
impl<'a> !Send for Waiting<'a>
impl<'a> !Sync for Waiting<'a>
impl<'a> !UnwindSafe for Waiting<'a>
impl<'a> Forget for Waiting<'a>
impl<'a> Freeze for Waiting<'a>
impl<'a> Move for Waiting<'a>
impl<'a> Unpin for Waiting<'a>
impl<'a> UnsafeUnpin for Waiting<'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