Trait tinychain::gateway::Server [−][src]
pub trait Server {
type Error: Error;
fn listen<'async_trait>(
self,
addr: SocketAddr
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where
Self: 'async_trait;
}
Expand description
A server used by Gateway
.