pub struct WriteNode { /* private fields */ }Expand description
Container for a single item in a Write service call.
Implementations§
Source§impl WriteNode
impl WriteNode
Sourcepub fn status(&self) -> StatusCode
pub fn status(&self) -> StatusCode
Get the current status.
Sourcepub fn set_status(&mut self, status: StatusCode)
pub fn set_status(&mut self, status: StatusCode)
Set the status code result of this operation.
Sourcepub fn value(&self) -> &ParsedWriteValue
pub fn value(&self) -> &ParsedWriteValue
Get the value to write.
Sourcepub fn diagnostic_bits(&self) -> DiagnosticBits
pub fn diagnostic_bits(&self) -> DiagnosticBits
Header diagnostic bits for requesting operation-level diagnostics.
Sourcepub fn set_diagnostic_info(&mut self, diagnostic_info: DiagnosticInfo)
pub fn set_diagnostic_info(&mut self, diagnostic_info: DiagnosticInfo)
Set diagnostic infos, you don’t need to do this if
diagnostic_bits are not set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WriteNode
impl !RefUnwindSafe for WriteNode
impl Send for WriteNode
impl Sync for WriteNode
impl Unpin for WriteNode
impl UnsafeUnpin for WriteNode
impl !UnwindSafe for WriteNode
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