[−][src]Struct dqcsim::host::configuration::PluginProcessConfiguration
Represents the complete configuration for a plugin running in an external process.
Fields
name: String
Name of the plugin, used to refer to the plugin by the log system.
specification: PluginProcessSpecification
Plugin specification, i.e. the plugin executable and optionally the script it should execute.
functional: PluginProcessFunctionalConfiguration
The functional configuration of the plugin, i.e. the options configuring how the plugin behaves (besides the specification).
nonfunctional: PluginProcessNonfunctionalConfiguration
The nonfunctional configuration of the plugin, i.e. any options that do not affect how the plugin behaves functionally, but only affect its output representation.
Implementations
impl PluginProcessConfiguration
[src]
pub fn new(
name: impl Into<String>,
specification: PluginProcessSpecification
) -> PluginProcessConfiguration
[src]
name: impl Into<String>,
specification: PluginProcessSpecification
) -> PluginProcessConfiguration
Creates a new plugin configuration.
The default values are inserted for the configuration options.
Trait Implementations
impl Clone for PluginProcessConfiguration
[src]
fn clone(&self) -> PluginProcessConfiguration
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PluginProcessConfiguration
[src]
impl<'de> Deserialize<'de> for PluginProcessConfiguration
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'_> From<&'_ PluginProcessConfiguration> for PluginLogConfiguration
[src]
fn from(cfg: &PluginProcessConfiguration) -> PluginLogConfiguration
[src]
impl Into<Box<dyn PluginConfiguration + 'static, Global>> for PluginProcessConfiguration
[src]
fn into(self) -> Box<dyn PluginConfiguration>
[src]
impl PartialEq<PluginProcessConfiguration> for PluginProcessConfiguration
[src]
fn eq(&self, other: &PluginProcessConfiguration) -> bool
[src]
fn ne(&self, other: &PluginProcessConfiguration) -> bool
[src]
impl PluginConfiguration for PluginProcessConfiguration
[src]
fn instantiate(self: Box<Self>) -> Box<dyn Plugin>
[src]
fn get_log_configuration(&self) -> PluginLogConfiguration
[src]
fn get_type(&self) -> PluginType
[src]
fn get_reproduction(
&self,
path_style: ReproductionPathStyle
) -> Result<PluginReproduction>
[src]
&self,
path_style: ReproductionPathStyle
) -> Result<PluginReproduction>
fn limit_verbosity(&mut self, max_verbosity: LoglevelFilter)
[src]
fn set_default_name(&mut self, default_name: String)
[src]
impl Serialize for PluginProcessConfiguration
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for PluginProcessConfiguration
[src]
Auto Trait Implementations
impl RefUnwindSafe for PluginProcessConfiguration
impl Send for PluginProcessConfiguration
impl Sync for PluginProcessConfiguration
impl Unpin for PluginProcessConfiguration
impl UnwindSafe for PluginProcessConfiguration
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,