Struct device_connector::base::ProcessSrcElementConf
source · pub struct ProcessSrcElementConf {
pub program: Option<String>,
pub args: Vec<String>,
pub command: String,
pub buffer_size: Option<usize>,
pub retry: bool,
pub retry_interval_ms: Duration,
}Expand description
Configuration type for ProcessSrcElement
Fields§
§program: Option<String>Executable path.
args: Vec<String>Arguments.
command: StringUse if program is empty.
buffer_size: Option<usize>Buffer size.
retry: boolRetry
retry_interval_ms: DurationRetry interval
Trait Implementations§
source§impl Clone for ProcessSrcElementConf
impl Clone for ProcessSrcElementConf
source§fn clone(&self) -> ProcessSrcElementConf
fn clone(&self) -> ProcessSrcElementConf
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ProcessSrcElementConf
impl Debug for ProcessSrcElementConf
source§impl<'de> Deserialize<'de> for ProcessSrcElementConf
impl<'de> Deserialize<'de> for ProcessSrcElementConf
source§fn 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