[−][src]Function swipc_gen::gen_rust_code::generate_trait
pub fn generate_trait(ifacename: &str, interface: &Interface) -> String
Generate a trait representing an IPC interface. Implementors of this trait may then create IPC Server objects through libuser's SessionWrapper and PortHandler.