pub struct PluginInitializeRequest {
pub downstream: Option<String>,
pub plugin_type: PluginType,
pub seed: u64,
pub log_configuration: PluginLogConfiguration,
pub log_channel: IpcSender<LogRecord>,
}Expand description
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: PluginTypeThe expected plugin type.
seed: u64Random seed.
log_configuration: PluginLogConfigurationConfiguration 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§
Source§impl Debug for PluginInitializeRequest
impl Debug for PluginInitializeRequest
Source§impl<'de> Deserialize<'de> for PluginInitializeRequest
impl<'de> Deserialize<'de> for PluginInitializeRequest
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
Source§impl Into<SimulatorToPlugin> for PluginInitializeRequest
impl Into<SimulatorToPlugin> for PluginInitializeRequest
Source§fn into(self) -> SimulatorToPlugin
fn into(self) -> SimulatorToPlugin
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for PluginInitializeRequest
impl PartialEq for PluginInitializeRequest
Auto Trait Implementations§
impl Freeze for PluginInitializeRequest
impl !RefUnwindSafe for PluginInitializeRequest
impl Send for PluginInitializeRequest
impl !Sync for PluginInitializeRequest
impl Unpin for PluginInitializeRequest
impl UnsafeUnpin for PluginInitializeRequest
impl UnwindSafe for PluginInitializeRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more