pub trait Responder {
// Required method
fn respond(&self, answer: DialogResult);
}
Expand description
A Responder is a way to send back the answer of a dialog to the code that showed this dialog.
Required Methods§
sourcefn respond(&self, answer: DialogResult)
fn respond(&self, answer: DialogResult)
Send the answer back. It can be to a widget or a channel.