[−][src]Trait rsocket_rust::transport::ServerTransportOld
Associated Types
Loading content...Required methods
#[must_use]pub fn start<'async_trait>(
self,
starter: Option<Box<dyn FnMut() + Send + Sync>>,
acceptor: Box<dyn Fn(Self::Item) -> Result<()> + Send + Sync>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
Self::Item: Transport + Sized,
Self: 'async_trait,
[src]
self,
starter: Option<Box<dyn FnMut() + Send + Sync>>,
acceptor: Box<dyn Fn(Self::Item) -> Result<()> + Send + Sync>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
Self::Item: Transport + Sized,
Self: 'async_trait,