1 2 3 4 5 6 7 8 9 10 11 12 13
pub trait Dialog { type Output; } pub trait DialogImpl: Dialog { fn show(&mut self) -> crate::Result<Self::Output>; } mod file; pub use file::*; mod message; pub use message::*;