pub enum ReportReason {
Data,
KeepAlive,
}Expand description
Why a report is due now.
Variants§
Data
Something changed and the minimum interval has passed.
“Something” is an attribute change, a queued urgent event, or a re-prime — all three
produce a report that carries data and expects a StatusResponse.
KeepAlive
Nothing changed, but the maximum interval has — “to keep the subscription alive”.
§8.6.2’s Report Transaction Empty: “report with no data or events with SuppressResponse set to TRUE”. An empty report needs no acknowledgement, because its only job is to prove the publisher is still there.
Trait Implementations§
Source§impl Clone for ReportReason
impl Clone for ReportReason
impl Copy for ReportReason
Source§impl Debug for ReportReason
impl Debug for ReportReason
impl Eq for ReportReason
Source§impl PartialEq for ReportReason
impl PartialEq for ReportReason
impl StructuralPartialEq for ReportReason
Auto Trait Implementations§
impl Forget for ReportReason
impl Freeze for ReportReason
impl Move for ReportReason
impl RefUnwindSafe for ReportReason
impl Send for ReportReason
impl Sync for ReportReason
impl Unpin for ReportReason
impl UnsafeUnpin for ReportReason
impl UnwindSafe for ReportReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more