Skip to main content

OutputPort

Trait OutputPort 

Source
pub trait OutputPort<T>
where T: Send + 'static,
{ // Required method fn send<'life0, 'async_trait>( &'life0 self, message: T, ) -> Pin<Box<dyn Future<Output = Result<(), SendError>> + Send + 'async_trait>> where 'life0: 'async_trait, Self: 'async_trait; }

Required Methods§

Source

fn send<'life0, 'async_trait>( &'life0 self, message: T, ) -> Pin<Box<dyn Future<Output = Result<(), SendError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementors§

Source§

impl<T, const N: usize> OutputPort<T> for Outputs<T, N>
where T: Send + 'static,