#[non_exhaustive]pub struct PendingWrite {
pub node_name: String,
pub data: Vec<u8>,
pub success: bool,
}Expand description
A single node’s write record within a superstep.
Fields may be added in future versions — construct via PendingWrite::new.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.node_name: StringWhich node produced this write.
data: Vec<u8>Serialized update data.
success: boolWhether the node completed successfully.
Implementations§
Trait Implementations§
Source§impl Clone for PendingWrite
impl Clone for PendingWrite
Source§fn clone(&self) -> PendingWrite
fn clone(&self) -> PendingWrite
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 moreAuto Trait Implementations§
impl Freeze for PendingWrite
impl RefUnwindSafe for PendingWrite
impl Send for PendingWrite
impl Sync for PendingWrite
impl Unpin for PendingWrite
impl UnsafeUnpin for PendingWrite
impl UnwindSafe for PendingWrite
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