fidl_fuchsia_net_routes_ext

Trait SliceResponder

Source
pub trait SliceResponder<Payload>:
    Responder
    + Debug
    + Send {
    // Required method
    fn send(self, payload: &[Payload]) -> Result<(), Error>;
}
Expand description

A trait for responding with a slice of objects.

This is similar to Responder, but it allows the sender to send a slice of objects.

Required Methods§

Source

fn send(self, payload: &[Payload]) -> Result<(), Error>

Sends a FIDL response.

Implementations on Foreign Types§

Source§

impl SliceResponder<RuleEventV4> for RuleWatcherV4WatchResponder

Source§

fn send(self, result: &[RuleEventV4]) -> Result<(), Error>

Source§

impl SliceResponder<RuleEventV6> for RuleWatcherV6WatchResponder

Source§

fn send(self, result: &[RuleEventV6]) -> Result<(), Error>

Implementors§