[][src]Enum windows_service::Error

pub enum Error {
    InvalidAccountName(NulError<u16>),
    InvalidAccountPassword(NulError<u16>),
    InvalidDisplayName(NulError<u16>),
    InvalidDatabaseName(NulError<u16>),
    InvalidExecutablePath(NulError<u16>),
    InvalidLaunchArgument(usizeNulError<u16>),
    InvalidDependency(NulError<u16>),
    InvalidMachineName(NulError<u16>),
    InvalidServiceName(NulError<u16>),
    InvalidStartArgument(NulError<u16>),
    InvalidServiceState(ParseRawError),
    InvalidServiceStartType(ParseRawError),
    InvalidServiceErrorControl(ParseRawError),
    InvalidServiceActionType(ParseRawError),
    InvalidServiceActionFailuresRebootMessage(NulError<u16>),
    InvalidServiceActionFailuresCommand(NulError<u16>),
    InvalidServiceDescription(NulError<u16>),
    Winapi(Error),
}

Variants

InvalidAccountName(NulError<u16>)

Invalid account name.

InvalidAccountPassword(NulError<u16>)

Invalid account password.

InvalidDisplayName(NulError<u16>)

Invalid display name.

InvalidDatabaseName(NulError<u16>)

Invalid database name.

InvalidExecutablePath(NulError<u16>)

Invalid executable path.

InvalidLaunchArgument(usizeNulError<u16>)

Invalid launch arguments.

InvalidDependency(NulError<u16>)

Invalid dependency name.

InvalidMachineName(NulError<u16>)

Invalid machine name.

InvalidServiceName(NulError<u16>)

Invalid service name.

InvalidStartArgument(NulError<u16>)

Invalid start argument.

InvalidServiceState(ParseRawError)

Invalid raw representation of ServiceState.

InvalidServiceStartType(ParseRawError)

Invalid raw representation of ServiceStartType.

InvalidServiceErrorControl(ParseRawError)

Invalid raw representation of ServiceErrorControl.

InvalidServiceActionType(ParseRawError)

Invalid raw representation of ServiceActionType.

InvalidServiceActionFailuresRebootMessage(NulError<u16>)

Invalid reboot message

InvalidServiceActionFailuresCommand(NulError<u16>)

Invalid command

InvalidServiceDescription(NulError<u16>)

Invalid service description

Winapi(Error)

IO error when calling winapi

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.