[][src]Crate varlink_derive

Macro for generating modules from a varlink interface definition

It has the drawback, that most IDEs don't execute this and thus offer no code completion.

Examples:

This example is not tested
use varlink_derive;

varlink_derive::varlink!(org_example_ping, r#"
interface org.example.ping

method Ping(ping: string) -> (pong: string)
"#);

use crate::org_example_ping::VarlinkClientInterface;

Macros

varlink

Generates a module from a varlink interface definition