# maplibre::io::apc - Rust
API documentation for the Rust `apc` mod in crate `maplibre`.

# Module maplibre::io::apc

source ·

## Structs

- Message
  The result of the tessellation of a tile. This is sent as a message from a worker to the caller of an `AsyncProcedure`.
- SchedulerAsyncProcedureCall
- SchedulerContext

## Enums

- CallError
- Input
  Inputs for an `AsyncProcedure`
- MessageError
- ProcedureError
- SendError

## Traits

- AsyncProcedureCall
  APCs define an interface for performing work asynchronously. This work can be implemented through procedures which can be called asynchronously, hence the name AsyncProcedureCall or APC for short.
- Context
  Allows sending messages from workers to back to the caller.
- IntoMessage
- MessageTag
  Defines a set of strongly-typed labels for a class of objects

## Type Aliases

- AsyncProcedure
  Type definitions for asynchronous procedure calls. These functions can be called in an `AsyncProcedureCall`. Functions of this type are required to be statically available at compile time. It is explicitly not possible to use closures, as they would require special serialization which is currently not supported.
- AsyncProcedureFuture