[][src]Struct dqcsim::common::protocol::PluginInitializeRequest

pub struct PluginInitializeRequest {
    pub downstream: Option<String>,
    pub plugin_type: PluginType,
    pub seed: u64,
    pub log_configuration: PluginLogConfiguration,
    pub log_channel: IpcSender<LogRecord>,
}

Plugin initialization request. See SimulatorToPlugin::Initialize.

Fields

downstream: Option<String>

Gatestream endpoint for the downstream plugin to connect to.

Must be specified for frontends and operators, must not be specified for backends.

plugin_type: PluginType

The expected plugin type.

seed: u64

Random seed.

log_configuration: PluginLogConfiguration

Configuration for the logging subsystem of the plugin.

log_channel: IpcSender<LogRecord>

Sender side of the log channel. Can be used by a Plugin to send log records to the simulator.

Trait Implementations

impl Debug for PluginInitializeRequest[src]

impl<'de> Deserialize<'de> for PluginInitializeRequest[src]

impl Into<SimulatorToPlugin> for PluginInitializeRequest[src]

impl PartialEq<PluginInitializeRequest> for PluginInitializeRequest[src]

impl Serialize for PluginInitializeRequest[src]

Auto Trait Implementations

impl !RefUnwindSafe for PluginInitializeRequest

impl Send for PluginInitializeRequest

impl !Sync for PluginInitializeRequest

impl Unpin for PluginInitializeRequest

impl UnwindSafe for PluginInitializeRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,