pub struct TwoPhasePlan {
pub tx_id: Vec<u8>,
pub steps: Vec<TwoPhaseStep>,
}Expand description
Client-coordinated cross-shard 2PC plan.
Fields§
§tx_id: Vec<u8>Opaque transaction id shared by all prepare/commit/abort calls.
steps: Vec<TwoPhaseStep>Ordered prepare steps (one per shard write).
Trait Implementations§
Source§impl Clone for TwoPhasePlan
impl Clone for TwoPhasePlan
Source§fn clone(&self) -> TwoPhasePlan
fn clone(&self) -> TwoPhasePlan
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 TwoPhasePlan
impl Debug for TwoPhasePlan
impl Eq for TwoPhasePlan
Source§impl PartialEq for TwoPhasePlan
impl PartialEq for TwoPhasePlan
impl StructuralPartialEq for TwoPhasePlan
Auto Trait Implementations§
impl Freeze for TwoPhasePlan
impl RefUnwindSafe for TwoPhasePlan
impl Send for TwoPhasePlan
impl Sync for TwoPhasePlan
impl Unpin for TwoPhasePlan
impl UnsafeUnpin for TwoPhasePlan
impl UnwindSafe for TwoPhasePlan
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