1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//! PVAccess client library — search, connect, get, put, monitor.
//!
//! This crate provides both a **high-level API** ([`PvaClient`]) and the
//! lower-level protocol functions used to build it.
//!
//! # High-level API
//!
//! ```rust,ignore
//! use spvirit_client::PvaClient;
//! use std::ops::ControlFlow;
//!
//! let client = PvaClient::builder().build();
//!
//! // GET
//! let result = client.pvget("MY:PV").await?;
//!
//! // PUT
//! client.pvput("MY:PV", 42.0).await?;
//!
//! // MONITOR
//! client.pvmonitor("MY:PV", |val| {
//! println!("{val:?}");
//! ControlFlow::Continue(())
//! }).await?;
//!
//! // INFO (introspection)
//! let desc = client.pvinfo("MY:PV").await?;
//! ```
//!
//! # Key types
//!
//! - [`PvaClient`] — high-level client with `pvget`, `pvput`, `pvmonitor`, `pvinfo`
//! - [`PvOptions`] — configuration for PV operations (ports, timeout, auth)
//! - [`PvGetResult`] — decoded GET result with introspection
//! - [`ChannelConn`] — low-level established TCP channel
//! - [`SearchTarget`] — UDP/TCP search target address
// --- Re-exports: high-level API ---
pub use ;
pub use PvListSource;
// --- Re-exports: client core ---
pub use ;
pub use ;
pub use ;
pub use read_packet;
pub use ;