Struct rsiot_component_core::Component
source · pub struct Component<TConfig, TMessage>where
TMessage: IMessage,{ /* private fields */ }
Implementations§
Trait Implementations§
source§impl<TConfig, TMessage> IComponent<TMessage> for Component<TConfig, TMessage>
impl<TConfig, TMessage> IComponent<TMessage> for Component<TConfig, TMessage>
fn set_interface( &mut self, input: CmpInput<TMessage>, output: CmpOutput<TMessage>, cache: Cache<TMessage> )
fn spawn<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(), ComponentError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<TConfig, TMessage> !RefUnwindSafe for Component<TConfig, TMessage>
impl<TConfig, TMessage> Send for Component<TConfig, TMessage>where
TConfig: Send,
impl<TConfig, TMessage> Sync for Component<TConfig, TMessage>where
TConfig: Sync,
impl<TConfig, TMessage> Unpin for Component<TConfig, TMessage>where
TConfig: Unpin,
impl<TConfig, TMessage> !UnwindSafe for Component<TConfig, TMessage>
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