[−][src]Struct windows_service::service::ServiceInfo
A struct that describes the service.
Fields
name: OsStringService name
display_name: OsStringUser-friendly service name
service_type: ServiceTypeThe service type
start_type: ServiceStartTypeThe service startup options
error_control: ServiceErrorControlThe severity of the error, and action taken, if this service fails to start.
executable_path: PathBufPath to the service binary
launch_arguments: Vec<OsString>Launch arguments passed to main when system starts the service.
This is not the same as arguments passed to service_main.
dependencies: Vec<ServiceDependency>Service dependencies
account_name: Option<OsString>Account to use for running the service.
for example: NT Authority\System.
use None to run as LocalSystem.
account_password: Option<OsString>Account password.
For system accounts this should normally be None.
Trait Implementations
impl Clone for ServiceInfo[src]
fn clone(&self) -> ServiceInfo[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ServiceInfo[src]
impl Eq for ServiceInfo[src]
impl Hash for ServiceInfo[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<ServiceInfo> for ServiceInfo[src]
fn eq(&self, other: &ServiceInfo) -> bool[src]
fn ne(&self, other: &ServiceInfo) -> bool[src]
impl StructuralEq for ServiceInfo[src]
impl StructuralPartialEq for ServiceInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for ServiceInfo
impl Send for ServiceInfo
impl Sync for ServiceInfo
impl Unpin for ServiceInfo
impl UnwindSafe for ServiceInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,