.. _api_rust_geonet: ======================= Rust API: GeoNetworking ======================= Module ``rustflexstack::geonet`` (ETSI TS 103 836-4-1 V2.2.1, TS 103 836-4-2). See :ref:`rust_geonetworking` for usage. .. list-table:: :widths: 35 65 :header-rows: 1 * - Item - Role * - `router::Router <../../rustdoc/rustflexstack/geonet/router/struct.Router.html>`__ - ``spawn(mib, sign_service, verify_backend, verify_cert_library)`` and ``spawn_with_dcc_net``; returns a ``RouterHandle`` and the receivers of link-layer packets and BTP indications. * - `router::RouterHandle <../../rustdoc/rustflexstack/geonet/router/struct.RouterHandle.html>`__ - ``send_gn_data_request``, ``send_incoming_packet``, ``update_position_vector``, ``set_unicast_sender``, ``set_verify_observer``, ``shutdown``. * - `mib::Mib <../../rustdoc/rustflexstack/geonet/mib/struct.Mib.html>`__ - The ``itsGn*`` parameters (local address, interface type, security, timers, DCC_NET, ...). * - `gn_address <../../rustdoc/rustflexstack/geonet/gn_address/index.html>`__ - ``GNAddress``, ``M``, ``ST``, ``MID``. * - `service_access_point <../../rustdoc/rustflexstack/geonet/service_access_point/index.html>`__ - ``GNDataRequest``, ``GNDataIndication``, ``PacketTransportType``, ``HeaderType``, ``HeaderSubType``, ``Area``, ``TrafficClass``, ``CommonNH``. * - `position_vector <../../rustdoc/rustflexstack/geonet/position_vector/index.html>`__ - ``LongPositionVector`` and ``ShortPositionVector``. * - `location_table <../../rustdoc/rustflexstack/geonet/location_table/index.html>`__ - Location table and its entries. * - `dcc_net <../../rustdoc/rustflexstack/geonet/dcc_net/index.html>`__ - DCC_NET: local and global CBR (TS 103 836-4-2). The exact signatures are in the generated `Rustdoc reference <../../rustdoc/rustflexstack/index.html>`__, built from ``rustflexstack`` 0.4.0.