[−][src]Struct dqcsim::host::reproduction::PluginModification
Represents a nonfunctional configuration modification for a previously defined plugin.
This allows the nonfunctional configuration of the plugin to be modified. This is particularly important when DQCsim is running in --reproduce-exactly mode; it is of marginal use to reproduce a run exactly if you're not looking to get additional information from it by changing loglevels and such.
Fields
name: String
Name of the referenced plugin.
verbosity: Option<LoglevelFilter>
Specifies the verbosity of the messages sent to DQCsim. If this is
None
, the value of DQCsim's --plugin_level
option should be used.
tee_files: Vec<TeeFileConfiguration>
Specifies the tee file configuration for this plugin.
stdout_mode: Option<StreamCaptureMode>
Specifies how the stdout stream of the plugin should be connected.
None
implies default.
stderr_mode: Option<StreamCaptureMode>
Specifies how the stderr stream of the plugin should be connected.
None
implies default.
accept_timeout: Option<Timeout>
Specifies the timeout for connecting to the plugin after it has been spawned.
shutdown_timeout: Option<Timeout>
Specifies the timeout for connecting to the plugin after it has been spawned.
Implementations
impl PluginModification
[src]
pub fn apply(self, to: &mut Vec<PluginProcessConfiguration>) -> Result<()>
[src]
Applies this plugin modification to a plugin definition vector.
An error is returned if the referenced plugin cannot be found in the
vector, otherwise Ok(())
is returned.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PluginModification
impl Send for PluginModification
impl Sync for PluginModification
impl Unpin for PluginModification
impl UnwindSafe for PluginModification
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,