Crate smf

Source

Structs§

Adm
Provides tools for changing the state of SMF services.
AdmClear
Created by Adm::clear, clears services in a degraded/maintenance state.
AdmDisable
Created by Adm::disable, disables the service instance(s).
AdmEnable
Created by Adm::enable, enables the service instance(s).
AdmRefresh
Created by Adm::refresh, refreshes a snapshot.
AdmRestart
Created by Adm::restart, restarts the service instance(s).
CommandOutputError
The error type for parsing a bad status code while reading stdout.
Config
Provides an API to manipulate the configuration files for SMF services.
ConfigAdd
Created by Config::add, creates a new child instance of a service.
ConfigAddPropertyValue
Created by Config::add_property_value, adds a property value for a service.
ConfigDelete
Created by Config::delete, requests that a configuration be deleted.
ConfigDeletePropertyValue
Created by Config::delete_property_value, adds a property value for a service.
ConfigExport
Created by Config::export, represents a command to export a service configuration.
ConfigImport
Created by Config::import, represents a command to import a service configuration.
ConfigSetProperty
Created by Config::set_property, sets a property for a service.
Properties
Queries the properties of a service or instance.
Property
Describes a Property, with both its name and value.
PropertyGroupName
The group portion of a property name.
PropertyLookup
Created by Properties::lookup, a builder object capable of listing properties.
PropertyName
The group and property portions of a property name.
PropertyParseError
The error type represting a failure to parse a property or property group.
PropertyWait
Created by Properties::wait, a builder object waiting for a property group to change.
Query
Queries the underlying system to return SvcStatus structures.
SvcStatus
Describes the status of an SMF service.

Enums§

AdmError
The error code for any operation that fails during an adm command.
AdmSelection
Determines which services are returned from Adm operations.
ConfigError
The error code for any operation that fails during a config command.
PropertyClass
The selection of properties for a service or instance.
PropertyError
Errors which can be returned when querying properties.
PropertyValue
Defines the values properties may have.
QueryError
The error code for any operation that fails during a query command.
QuerySelection
Determines which services are returned from Query::get_status
SmfState
Describes the state of a service.