pub enum CloseStep {
Close,
Confirm(Confirmation),
}Expand description
What a close request leads to.
Variants§
Close
No declared check objects: the target closes the window now.
Confirm(Confirmation)
A declared check needs a decision. Repeated requests while it is pending return the same confirmation instead of asking again.
Trait Implementations§
impl Eq for CloseStep
impl StructuralPartialEq for CloseStep
Auto Trait Implementations§
impl Freeze for CloseStep
impl RefUnwindSafe for CloseStep
impl Send for CloseStep
impl Sync for CloseStep
impl Unpin for CloseStep
impl UnsafeUnpin for CloseStep
impl UnwindSafe for CloseStep
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