pub struct TwoPhaseStep {
pub key: Vec<u8>,
pub command: Vec<u8>,
}Expand description
One keyed prepare step in a cross-shard 2PC plan.
Fields§
§key: Vec<u8>Shard routing key.
command: Vec<u8>Application-encoded command staged at prepare time.
Trait Implementations§
Source§impl Clone for TwoPhaseStep
impl Clone for TwoPhaseStep
Source§fn clone(&self) -> TwoPhaseStep
fn clone(&self) -> TwoPhaseStep
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 TwoPhaseStep
impl Debug for TwoPhaseStep
impl Eq for TwoPhaseStep
Source§impl PartialEq for TwoPhaseStep
impl PartialEq for TwoPhaseStep
impl StructuralPartialEq for TwoPhaseStep
Auto Trait Implementations§
impl Freeze for TwoPhaseStep
impl RefUnwindSafe for TwoPhaseStep
impl Send for TwoPhaseStep
impl Sync for TwoPhaseStep
impl Unpin for TwoPhaseStep
impl UnsafeUnpin for TwoPhaseStep
impl UnwindSafe for TwoPhaseStep
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