pub struct HistoryNode { /* private fields */ }Expand description
Container for a single node in a history read request.
Implementations§
Source§impl HistoryNode
impl HistoryNode
Sourcepub fn index_range(&self) -> &NumericRange
pub fn index_range(&self) -> &NumericRange
Get the index range to read.
Sourcepub fn data_encoding(&self) -> &QualifiedName
pub fn data_encoding(&self) -> &QualifiedName
Get the specified data encoding to read.
Sourcepub fn continuation_point(&self) -> Option<&ContinuationPoint>
pub fn continuation_point(&self) -> Option<&ContinuationPoint>
Get the current continuation point.
Sourcepub fn next_continuation_point(&self) -> Option<&ContinuationPoint>
pub fn next_continuation_point(&self) -> Option<&ContinuationPoint>
Get the next continuation point.
Sourcepub fn set_next_continuation_point(
&mut self,
continuation_point: Option<ContinuationPoint>,
)
pub fn set_next_continuation_point( &mut self, continuation_point: Option<ContinuationPoint>, )
Set the next continuation point.
Sourcepub fn set_result<T>(&mut self, result: T)where
T: HistoryResult,
pub fn set_result<T>(&mut self, result: T)where
T: HistoryResult,
Set the result to some history data object.
Sourcepub fn set_status(&mut self, status: StatusCode)
pub fn set_status(&mut self, status: StatusCode)
Set the result status.
Sourcepub fn status(&self) -> StatusCode
pub fn status(&self) -> StatusCode
Get the current result status.
Auto Trait Implementations§
impl Freeze for HistoryNode
impl !RefUnwindSafe for HistoryNode
impl Send for HistoryNode
impl Sync for HistoryNode
impl Unpin for HistoryNode
impl UnsafeUnpin for HistoryNode
impl !UnwindSafe for HistoryNode
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