Skip to main content

Module idl

Module idl 

Source
Expand description

Interface Definition Language (IDL) support for Varlink.

This module provides types and parsers for working with Varlink IDL definitions.

Structs§

Comment
A comment in a Varlink interface.
CustomEnum
An enum type definition in Varlink IDL (enum-like with named variants).
CustomObject
An object type definition in Varlink IDL (struct-like with named fields).
EnumVariant
A single variant in an enum type definition.
Error
An error definition in Varlink IDL.
Field
A field in a custom type or method parameter.
Interface
A Varlink interface definition.
Method
A method definition in Varlink IDL.
TypeRef
A type reference that can be either borrowed or owned.

Enums§

CustomType
A custom type definition in Varlink IDL.
List
A list that can be either borrowed or owned.
Type
Represents a type in Varlink IDL.

Type Aliases§

Parameter
Type alias for method parameters, which have the same structure as fields.