Expand description
Curated re-exports for the most common umbrella-crate entry points.
This prelude intentionally favors the application-facing path:
Host -> LocalNode -> PeerConnection -> payload wrapper.
Lower-level MAC coordinator types remain available from [crate::mac], but are not
pulled into the prelude by default.
Structs§
- Bound
Channel - A channel bound to a specific
LocalNode. ImplementsTransport. - Channel
- A channel descriptor — holds the key, derived ID, and display name.
- Channel
Id - Two-byte multicast channel identifier.
- Channel
Info Ref - Borrowing view of an inbound MAC event.
- Channel
Key - Raw 32-byte multicast channel secret.
- Host
- Multi-identity orchestration layer for the node API.
- Local
Identity Id - Opaque handle that identifies a locally registered identity within the [
Mac] coordinator. - Local
Node - Per-identity application handle.
- Message
Sequence - Message Sequence option value.
- Multicast
Text Chat Wrapper - Node
Capabilities - Node
Identity Payload - Owned
Text Message - Owned counterpart of
TextMessage. - Peer
Connection - Relationship with one remote peer, bound to a transport context.
- Public
Key - Node public key, which also acts as the full network address.
- Received
Packet Ref - Borrowed view of one accepted inbound packet together with parsed on-wire metadata.
- Route
Hops - Iterator over packed two-byte route hops from a source-route or trace-route option.
- RxMetadata
- Local physical-layer observations captured when a frame was received.
- Send
Options - High-level transmission options passed to
Macsend helpers. - Send
Progress Ticket - Lightweight handle for observing the progress of an in-flight send.
- Send
Token - Identity-scoped send token.
- Snr
- Signal-to-noise ratio represented in centibels (0.1 dB units).
- Subscription
- Owned subscription guard.
- Text
Message - Borrowed decoded text message.
- Unicast
Text Chat Wrapper - Thin convenience wrapper for plain unicast text chat over a peer connection.
Enums§
- Command
Id - Host
Error - Error returned when a
Hostcannot make progress. - MacCommand
- Message
Type - Text-message rendering/control type.
- Node
Error - Errors produced by node-layer operations.
- Node
Role - Owned
MacCommand - Packet
Family - Coarser grouping of on-wire packet types.
- Payload
Type - Application payload type carried inside the MAC body.
- PfsStatus
- Regarding
- Regarding option value: a reference to a previously sent message.