[][src]Trait zbus_framework::prelude::Component

pub trait Component<H>: Send + Sized + 'static where
    H: Send + Sized + 'static, 
{ fn handler(&self) -> H; fn init(&mut self) { ... }
fn stop(&mut self) { ... }
fn component() -> Option<Box<H>> { ... } }

Required methods

fn handler(&self) -> H

Loading content...

Provided methods

fn init(&mut self)

fn stop(&mut self)

fn component() -> Option<Box<H>>

Loading content...

Implementations on Foreign Types

impl Component<WsRpcHandler> for WsRpcClient[src]

Loading content...

Implementors

Loading content...