pub enum AlertResponse {
Confirm,
Cancel,
Option,
}Expand description
User action performed on the alert dialog.
Variants§
Confirm
User clicked confirm button.
Cancel
User clicked cancel button.
Option
User clicked user-supplied option.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AlertResponse
impl RefUnwindSafe for AlertResponse
impl Send for AlertResponse
impl Sync for AlertResponse
impl Unpin for AlertResponse
impl UnwindSafe for AlertResponse
Blanket Implementations§
Source§impl<C> AsyncPosition<()> for C
impl<C> AsyncPosition<()> for C
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