pub enum WindowsUpdateInstallMode {
BasicUi,
Quiet,
Passive,
}
Expand description
Install modes for the Windows update.
Variants
BasicUi
Specifies there’s a basic UI during the installation process, including a final dialog box at the end.
Quiet
The quiet mode means there’s no user interaction required. Requires admin privileges if the installer does.
Passive
Specifies unattended mode, which means the installation only shows a progress bar.
Implementations
sourceimpl WindowsUpdateInstallMode
impl WindowsUpdateInstallMode
sourcepub fn msiexec_args(&self) -> &'static [&'static str]
pub fn msiexec_args(&self) -> &'static [&'static str]
Returns the associated msiexec.exe
arguments.
Trait Implementations
sourceimpl Clone for WindowsUpdateInstallMode
impl Clone for WindowsUpdateInstallMode
sourcefn clone(&self) -> WindowsUpdateInstallMode
fn clone(&self) -> WindowsUpdateInstallMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WindowsUpdateInstallMode
impl Debug for WindowsUpdateInstallMode
sourceimpl Default for WindowsUpdateInstallMode
impl Default for WindowsUpdateInstallMode
sourceimpl<'de> Deserialize<'de> for WindowsUpdateInstallMode
impl<'de> Deserialize<'de> for WindowsUpdateInstallMode
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for WindowsUpdateInstallMode
impl Display for WindowsUpdateInstallMode
sourceimpl PartialEq<WindowsUpdateInstallMode> for WindowsUpdateInstallMode
impl PartialEq<WindowsUpdateInstallMode> for WindowsUpdateInstallMode
sourcefn eq(&self, other: &WindowsUpdateInstallMode) -> bool
fn eq(&self, other: &WindowsUpdateInstallMode) -> bool
sourceimpl Serialize for WindowsUpdateInstallMode
impl Serialize for WindowsUpdateInstallMode
impl Eq for WindowsUpdateInstallMode
impl StructuralEq for WindowsUpdateInstallMode
impl StructuralPartialEq for WindowsUpdateInstallMode
Auto Trait Implementations
impl RefUnwindSafe for WindowsUpdateInstallMode
impl Send for WindowsUpdateInstallMode
impl Sync for WindowsUpdateInstallMode
impl Unpin for WindowsUpdateInstallMode
impl UnwindSafe for WindowsUpdateInstallMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more