Struct branchless::core::eventlog::EventTransactionId[][src]

pub struct EventTransactionId(_);

The ID associated with the transactions that created an event.

A “event transaction” is a group of logically-related events. For example, during a rebase operation, all of the rebased commits have different CommitEvents, but should belong to the same transaction. This improves the experience for git undo, since the user probably wants to see or undo all of the logically-related events at once, rather than individually.

Note that some logically-related events may not be included together in the same transaction. For example, if a rebase is interrupted due to a merge conflict, then the commits applied due to git rebase and the commits applied due to git rebase --continue may not share the same transaction. In this sense, a transaction is “best-effort”.

Unlike in a database, there is no specific guarantee that an event transaction is an atomic unit of work.

Trait Implementations

impl Clone for EventTransactionId[src]

impl Copy for EventTransactionId[src]

impl Debug for EventTransactionId[src]

impl FromStr for EventTransactionId[src]

type Err = <isize as FromStr>::Err

The associated error which can be returned from parsing.

impl PartialEq<EventTransactionId> for EventTransactionId[src]

impl StructuralPartialEq for EventTransactionId[src]

impl ToString for EventTransactionId[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> With for T