.. _api_rust_btp: ============= Rust API: BTP ============= Module ``rustflexstack::btp`` (ETSI EN 302 636-5-1 V2.2.1). See :ref:`rust_btp` for usage. .. list-table:: :widths: 35 65 :header-rows: 1 * - Item - Role * - `router::Router <../../rustdoc/rustflexstack/btp/router/struct.Router.html>`__ - ``spawn(mib)``: returns a ``BTPRouterHandle`` and the receiver of the GeoNetworking requests it produces. * - `router::BTPRouterHandle <../../rustdoc/rustflexstack/btp/router/struct.BTPRouterHandle.html>`__ - ``send_btp_data_request``, ``send_gn_data_indication``, ``register_port``, ``register_port_accepting_unsecured``, ``unregister_port``, ``shutdown``. * - `service_access_point <../../rustdoc/rustflexstack/btp/service_access_point/index.html>`__ - ``BTPDataRequest`` (with ``Default``) and ``BTPDataIndication``. * - `btp_header <../../rustdoc/rustflexstack/btp/btp_header/index.html>`__ - BTP-A and BTP-B headers. The exact signatures are in the generated `Rustdoc reference <../../rustdoc/rustflexstack/index.html>`__, built from ``rustflexstack`` 0.4.0.