RunMode

Enum RunMode 

Source
#[repr(u32)]
pub enum RunMode {
Show 16 variants Admin = 0, Advertise = 1, Maintenance = 2, RollbackEnabled = 3, LogEnabled = 4, Operations = 5, RebootAtEnd = 6, RebootNow = 7, Cabinet = 8, SourceShortNames = 9, TargetShortNames = 10, Windows9x = 12, ZawEnabled = 13, Scheduled = 16, Rollback = 17, Commit = 18,
}
Expand description

Run modes passed to Session::mode().

Variants§

§

Admin = 0

Administrative mode install, else product install.

§

Advertise = 1

Advertise mode of install.

§

Maintenance = 2

Maintenance mode database loaded.

§

RollbackEnabled = 3

Rollback is enabled.

§

LogEnabled = 4

Log file is active.

§

Operations = 5

Executing or spooling operations.

§

RebootAtEnd = 6

Reboot is needed.

§

RebootNow = 7

Reboot is needed to continue installation

§

Cabinet = 8

Installing files from cabinets and files using Media table.

§

SourceShortNames = 9

Source files use only short file names.

§

TargetShortNames = 10

Target files are to use only short file names.

§

Windows9x = 12

Operating system is Windows 98/95.

§

ZawEnabled = 13

Operating system supports advertising of products.

§

Scheduled = 16

Deferred custom action called from install script execution.

§

Rollback = 17

Deferred custom action called from rollback execution script.

§

Commit = 18

Deferred custom action called from commit execution script.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.