Skip to main content

Crate pim_messaging

Crate pim_messaging 

Source
Expand description

User-to-user encrypted messaging — pim-daemon plugin.

This crate is loaded by pim-daemon only when the messaging Cargo feature is enabled. It provides:

Re-exports§

pub use plugin::MessagingPlugin;
pub use service::HistoryScope;
pub use service::MessageEvent;
pub use service::MessagingService;
pub use service::MAX_BODY_BYTES;
pub use storage::AckKind;
pub use storage::ConversationSummary;
pub use storage::MessageDirection;
pub use storage::MessageRecord;
pub use storage::MessageStatus;
pub use storage::MessagingStorage;
pub use wire::KIND_ACK;
pub use wire::KIND_MESSAGE;

Modules§

plugin
pim_plugin::DaemonPlugin implementation that delegates to crate::service::MessagingService.
service
Plugin-internal facade combining storage, events, and ports.
storage
SQLite-backed persistence for the messaging plugin.
wire
On-wire encoding for messaging payloads carried inside pim_protocol::ControlFrame::PluginPayload.

Functions§

hex16
Format a 16-byte UUID as a 32-char lowercase hex string.
hex_node_id
Format a NodeId as a 32-char lowercase hex string.