Struct eventstore::commands::TransactionStart[][src]

pub struct TransactionStart<'a> { /* fields omitted */ }

Command that starts a transaction on a stream.

Methods

impl<'a> TransactionStart<'a>
[src]

Asks the server receiving the command to be the master of the cluster in order to perform the write. Default: false.

Asks the server to check that the stream receiving the event is at the given expected version. Default: types::ExpectedVersion::Any.

Performs the command with the given credentials.

Sends asnychronously the start transaction command to the server.

Auto Trait Implementations

impl<'a> Send for TransactionStart<'a>

impl<'a> Sync for TransactionStart<'a>