Struct CommunicationPlugin
pub struct CommunicationPlugin { /* private fields */ }Expand description
Communication plugin for dynamic loading
Implementations§
§impl CommunicationPlugin
impl CommunicationPlugin
pub fn new() -> CommunicationPlugin
pub fn new() -> CommunicationPlugin
Create a new communication plugin
Trait Implementations§
§impl Debug for CommunicationPlugin
impl Debug for CommunicationPlugin
§impl Default for CommunicationPlugin
impl Default for CommunicationPlugin
§fn default() -> CommunicationPlugin
fn default() -> CommunicationPlugin
Returns the “default value” for a type. Read more
§impl NervePlugin for CommunicationPlugin
impl NervePlugin for CommunicationPlugin
§fn component_type(&self) -> ComponentType
fn component_type(&self) -> ComponentType
Get the component type this plugin provides
§fn initialize(&self, _context: &PluginContext) -> Result<(), NerveError>
fn initialize(&self, _context: &PluginContext) -> Result<(), NerveError>
Initialize the plugin
§fn shutdown(&self) -> Result<(), NerveError>
fn shutdown(&self) -> Result<(), NerveError>
Shutdown the plugin
§fn is_healthy(&self) -> bool
fn is_healthy(&self) -> bool
Check if plugin is healthy
§fn get_statistics(&self) -> SystemStatistics
fn get_statistics(&self) -> SystemStatistics
Get plugin statistics
§fn id(&self) -> ComponentId
fn id(&self) -> ComponentId
Get plugin identifier
Auto Trait Implementations§
impl Freeze for CommunicationPlugin
impl RefUnwindSafe for CommunicationPlugin
impl Send for CommunicationPlugin
impl Sync for CommunicationPlugin
impl Unpin for CommunicationPlugin
impl UnwindSafe for CommunicationPlugin
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