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§