pub enum NotificationRecord {
Message {
message: NotificationMessage,
end_of_response: bool,
},
Stop,
}Expand description
Outcome of decoding one OAC record from the notification stream.
Variants§
Message
A record to deliver to the callback. end_of_response mirrors the
reference flag (DEREG / DEREG_NFY terminate the loop after delivery).
Stop
TNS_SUBSCR_STOP_NOTIF — the stream is finished; no callback fires.
Trait Implementations§
Source§impl Clone for NotificationRecord
impl Clone for NotificationRecord
Source§fn clone(&self) -> NotificationRecord
fn clone(&self) -> NotificationRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotificationRecord
impl Debug for NotificationRecord
impl Eq for NotificationRecord
Source§impl PartialEq for NotificationRecord
impl PartialEq for NotificationRecord
Source§fn eq(&self, other: &NotificationRecord) -> bool
fn eq(&self, other: &NotificationRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotificationRecord
Auto Trait Implementations§
impl Freeze for NotificationRecord
impl RefUnwindSafe for NotificationRecord
impl Send for NotificationRecord
impl Sync for NotificationRecord
impl Unpin for NotificationRecord
impl UnsafeUnpin for NotificationRecord
impl UnwindSafe for NotificationRecord
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