pub struct TwoPhaseAbortCommand {
pub tx_id: Vec<u8>,
pub route_key: Vec<u8>,
}Expand description
Abort/tombstone for a staged prepare (durable 2PC; not applied to the user SM).
Fields§
§tx_id: Vec<u8>Opaque transaction id.
route_key: Vec<u8>Shard routing key for this prepare step.
Trait Implementations§
Source§impl Clone for TwoPhaseAbortCommand
impl Clone for TwoPhaseAbortCommand
Source§fn clone(&self) -> TwoPhaseAbortCommand
fn clone(&self) -> TwoPhaseAbortCommand
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 TwoPhaseAbortCommand
impl Debug for TwoPhaseAbortCommand
Source§impl<'de> Deserialize<'de> for TwoPhaseAbortCommand
impl<'de> Deserialize<'de> for TwoPhaseAbortCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TwoPhaseAbortCommand
Source§impl PartialEq for TwoPhaseAbortCommand
impl PartialEq for TwoPhaseAbortCommand
Source§impl Serialize for TwoPhaseAbortCommand
impl Serialize for TwoPhaseAbortCommand
impl StructuralPartialEq for TwoPhaseAbortCommand
Auto Trait Implementations§
impl Freeze for TwoPhaseAbortCommand
impl RefUnwindSafe for TwoPhaseAbortCommand
impl Send for TwoPhaseAbortCommand
impl Sync for TwoPhaseAbortCommand
impl Unpin for TwoPhaseAbortCommand
impl UnsafeUnpin for TwoPhaseAbortCommand
impl UnwindSafe for TwoPhaseAbortCommand
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