#[non_exhaustive]pub enum SubscriptionError {
Show 16 variants
Session(ReadError),
InvalidInterval,
InvalidWait,
ItemCount,
ItemRejected {
index: usize,
source: StatusCode,
},
Limit,
InvalidRevision,
ItemRevision {
index: usize,
},
LocalOverflow,
ValueLimit,
ItemValueLimit {
index: usize,
},
ServerOverflow(u32),
ItemOverflow {
index: usize,
status: u32,
},
SequenceGap {
expected: u32,
actual: u32,
},
Timeout,
Ended,
}Expand description
Setup or reception of an authenticated sampled Value notification failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Session(ReadError)
Transport, namespace, or original pinned session is unavailable.
InvalidInterval
Requested sample/publish interval is outside 10 milliseconds to 60 seconds.
InvalidWait
Wait must be positive and at most one minute.
ItemCount
One subscription takes between one and 32 nodes.
ItemRejected
The peer rejected an individual monitored item during setup.
Fields
source: StatusCodeOriginal OPC UA status for the item.
Limit
Eight active subscriptions already exist on this client.
InvalidRevision
Server did not supply usable revised intervals and a queue of 2–32 entries.
ItemRevision
The peer supplied an unusable sampling interval or queue for this member.
LocalOverflow
The bounded notification queue filled. Create a fresh subscription.
ValueLimit
A notification’s Variant exceeded 128 KiB of UA binary data or could not be measured.
ItemValueLimit
A group member’s Variant exceeded the supported binary size or could not be measured.
ServerOverflow(u32)
The peer indicated its monitored item queue overflowed; includes the full raw status.
ItemOverflow
A group member reported its server-side queue overflow.
SequenceGap
A Publish response skipped or repeated a sequence number.
Fields
Timeout
No notification arrived within this caller-selected wait. The handle remains usable.
Ended
The monitored item or client stopped delivering, or a terminal error was already reported.
Trait Implementations§
Source§impl Debug for SubscriptionError
impl Debug for SubscriptionError
Source§impl Display for SubscriptionError
impl Display for SubscriptionError
Source§impl Error for SubscriptionError
impl Error for SubscriptionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()