Struct GCPluginInstanceInner
struct GCPluginInstanceInner<T: GCPluginCallbackHandler> {
instance: RwLock<Option<PluginRunningInstance<T>>>,
instance_name: String,
plugin_name: String,
callback_handler: Box<T>,
}Fields§
§instance: RwLock<Option<PluginRunningInstance<T>>>§instance_name: String§plugin_name: String§callback_handler: Box<T>Trait Implementations§
§impl<T> GCDatapointSubscriber for GCPluginInstanceInner<T>where
T: GCPluginCallbackHandler,
impl<T> GCDatapointSubscriber for GCPluginInstanceInner<T>where
T: GCPluginCallbackHandler,
§fn update_datapoint_value(
&self,
data_value: GCArc<GCDatapointValue>,
) -> Result<(), GCMessageBrokerError>
fn update_datapoint_value( &self, data_value: GCArc<GCDatapointValue>, ) -> Result<(), GCMessageBrokerError>
Sends a datapoint value to the Plugin, this calls issues a call to gc_plugin_receive_datapoint exported by the plugin
§fn unique_identifier(&self) -> &GCSubscriberIdentifier
fn unique_identifier(&self) -> &GCSubscriberIdentifier
Returns the unique identifier of the subscriber
Auto Trait Implementations§
impl<T> !Freeze for GCPluginInstanceInner<T>
impl<T> RefUnwindSafe for GCPluginInstanceInner<T>where
T: RefUnwindSafe,
impl<T> Send for GCPluginInstanceInner<T>
impl<T> Sync for GCPluginInstanceInner<T>
impl<T> Unpin for GCPluginInstanceInner<T>
impl<T> UnsafeUnpin for GCPluginInstanceInner<T>
impl<T> UnwindSafe for GCPluginInstanceInner<T>where
T: UnwindSafe,
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