pub fn reply(&self, result: SettingHandlerResult) {
        match &self.client {
            Client::Service(client) => {
                // TODO(fxbug.dev/70985): return HandlerErrors directly
                client
                    .reply(HandlerPayload::Response(result.map_err(HandlerError::from)).into())
                    .send();
            }
        }
    }
/// Sends the supplied result as a reply with the associated [`Client`].
Sends the supplied result as a reply with the associated [`Client`].
Sends the supplied result as a reply with the associated [ ` Client ` ] .
pub fn reply(&self, result: SettingHandlerResult) {
        match &self.client {
            Client::Service(client) => {
                // TODO(fxbug.dev/70985): return HandlerErrors directly
                client
                    .reply(HandlerPayload::Response(result.map_err(HandlerError::from)).into())
                    .send();
            }
        }
    }
pub fn reply ( & self , result : SettingHandlerResult ) { match & self . client { Client :: Service ( client ) => { // TODO(fxbug.dev/70985): return HandlerErrors directly client . reply ( HandlerPayload :: Response ( result . map_err ( HandlerError :: from ) ) . into ( ) ) . send ( ) ; } } }
Sends the supplied result as a reply with the associated [`Client`].
Sends the supplied result as a reply with the associated [ ` Client ` ] .
&self
result
SettingHandlerResult
&self
result
SettingHandlerResult