Skip to main content

Crate rustbac_client

Crate rustbac_client 

Source
Expand description

High-level async BACnet client.

BacnetClient wraps any DataLink transport and exposes ergonomic methods for common BACnet operations such as reading properties, discovering devices, and subscribing to change-of-value (COV) notifications.

Re-exports§

pub use alarm::AlarmSummaryItem;
pub use alarm::EnrollmentSummaryItem;
pub use alarm::EventInformationItem;
pub use alarm::EventInformationResult;
pub use alarm::EventNotification;
pub use client::BacnetClient;
pub use client::ForeignDeviceRenewal;
pub use cov::CovNotification;
pub use cov::CovPropertyValue;
pub use cov_manager::CovManager;
pub use cov_manager::CovManagerBuilder;
pub use cov_manager::CovSubscriptionSpec;
pub use cov_manager::CovUpdate;
pub use cov_manager::UpdateSource;
pub use discovery::DiscoveredDevice;
pub use discovery::DiscoveredObject;
pub use error::ClientError;
pub use file::AtomicReadFileResult;
pub use file::AtomicWriteFileResult;
pub use listener::create_notification_listener;
pub use listener::Notification;
pub use listener::NotificationListener;
pub use point::PointClassification;
pub use point::PointDirection;
pub use point::PointKind;
pub use range::ClientBitString;
pub use range::ReadRangeResult;
pub use schedule::CalendarEntry;
pub use schedule::DateRange;
pub use schedule::TimeValue;
pub use server::BacnetServer;
pub use server::BacnetServiceError;
pub use server::ObjectStore;
pub use server::ObjectStoreHandler;
pub use server::ServiceHandler;
pub use simulator::SimulatedDevice;
pub use throttle::DeviceThrottle;
pub use value::ClientDataValue;
pub use walk::DeviceWalkResult;
pub use walk::ObjectSummary;

Modules§

alarm
Alarm and event services (GetAlarmSummary, GetEventInformation, etc.).
client
Core BacnetClient type and transport setup.
cov
Change-of-value (COV) notification types.
cov_manager
COV subscriptions with renewal and polling failover.
discovery
Device and object discovery (Who-Is / I-Am / Who-Has).
error
Client-level error type.
file
Atomic file read/write operations.
listener
Long-running async notification listener. Long-running async notification listener.
point
Point type inference for BACnet objects. Point type inference for BACnet objects.
range
ReadRange results and related types.
schedule
Schedule and Calendar convenience helpers. Convenience types and helpers for BACnet Schedule and Calendar objects.
server
BACnet server/responder implementation. BACnet server/responder implementation.
simulator
Lightweight simulated BACnet device. Lightweight simulated BACnet device.
throttle
Per-device request throttling utility.
value
Owned application-data values for client-side use.
walk
Device discovery walk — reads all objects and their properties. Device discovery walk — reads the object list and common properties for every object on a BACnet device.

Structs§

BacnetScTransport
A DataLink implementation that transports BACnet frames over a WebSocket connection (BACnet/SC).
BroadcastDistributionEntry
ForeignDeviceTableEntry

Enums§

DeviceCommunicationState
EventState
ReinitializeState
TimeStamp