Expand description
A Rust library for communicating with and configuring Meshtastic devices.
Modules§
- api
- This module contains the main API for interacting with Meshtastic devices.
This module exposes the
StreamApiandConnectedStreamApistructs, as well as helper states within thestatemodule. - errors
- This module contains the global
Errortype of the library. This enum implementsstd::error::Error,std::fmt::Display, andstd::fmt::Debug. This enum is used to represent all errors that can occur within the library. - packet
- This module contains the structs, enums, and traits that are necessary to define the behavior
of packets within the library. This module exposes the
PacketDestinationenum, thePacketRoutertrait, and thePacketReceivertype. - protobufs
- This module contains structs and enums that are generated from the protocol buffer (protobuf)
definitions of the
meshtastic/protobufsGit submodule. These structs and enums are not edited directly, but are instead generated at build time. - types
- This module exposes wrappers around common types that are used throughout the library. These wrappers are used to simplify the API of the library, and to provide additional type safety.
- utils
- This module exposes utility functions that aren’t fundamental to the operation of the library, but simplify the configuration and usage of member methods.
Traits§
- Message
- A re-export of the
prost::Messagetrait, which is required to call theencodeanddecodemethods on protocol buffer messages. A Protocol Buffers message.
Derive Macros§
- Message
- A re-export of the
prost::Messagetrait, which is required to call theencodeanddecodemethods on protocol buffer messages.