pub enum Elevated {
Done,
Declined,
Failed(String),
}Expand description
The answer to an administrator prompt.
Variants§
Done
The script ran as administrator and exited successfully.
Declined
The user cancelled, or no prompt is available.
Failed(String)
The script ran and failed, or the prompt couldn’t be shown; one line.
Trait Implementations§
impl Eq for Elevated
impl StructuralPartialEq for Elevated
Auto Trait Implementations§
impl Freeze for Elevated
impl RefUnwindSafe for Elevated
impl Send for Elevated
impl Sync for Elevated
impl Unpin for Elevated
impl UnsafeUnpin for Elevated
impl UnwindSafe for Elevated
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