pub trait ClientExt {
// Required method
fn shutdown_ext<'life0, 'async_trait>(
&'life0 self,
event_stream: ClientEventStream,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Extension trait on fidl_fuchsia_net_dhcp::ClientProxy
.
Required Methods§
Sourcefn shutdown_ext<'life0, 'async_trait>(
&'life0 self,
event_stream: ClientEventStream,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutdown_ext<'life0, 'async_trait>(
&'life0 self,
event_stream: ClientEventStream,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Shuts down the client, watching for the GracefulShutdown
exit event.
Returns an error if the GracefulShutdown
exit event is not observed.