Trait toy_rpc::GracefulShutdown [−][src]
Required methods
#[must_use]fn close<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl<R, W> GracefulShutdown for Codec<R, W, ConnTypePayload> where
R: Send,
W: GracefulShutdown + Send,
[src]
R: Send,
W: GracefulShutdown + Send,
fn close<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl<R, W> GracefulShutdown for Codec<R, W, ConnTypeReadWrite> where
R: AsyncRead + Send + Sync + Unpin,
W: AsyncWrite + Send + Sync + Unpin,
[src]
R: AsyncRead + Send + Sync + Unpin,
W: AsyncWrite + Send + Sync + Unpin,
fn close<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl<S, E> GracefulShutdown for S where
S: Sink<Message, Error = E> + Send + Sync + Unpin,
E: Error + 'static,
[src]
S: Sink<Message, Error = E> + Send + Sync + Unpin,
E: Error + 'static,