[][src]Function swipc_gen::gen_rust_code::generate_trait_async

pub fn generate_trait_async(ifacename: &str, interface: &Interface) -> String

Generate a trait representing an async IPC interface. Implementors of this trait may then create IPC Server objects through libuser's new_session_wrapper and create_port.