fidl_fuchsia_net_dhcp_ext

Trait ClientExt

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl ClientExt for ClientProxy

Source§

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,

Implementors§