Struct eventstore::commands::ReadStreamEvents[][src]

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

A command that reads several events from a stream. It can read events forward or backward.

Methods

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

Asks the command to read forward (toward the end of the stream). That's the default behavior.

Asks the command to read backward (toward the begining of the stream).

Performs the command with the given credentials.

Max batch size.

Starts the read ot the given event number. By default, it starts at

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

When using projections, you can have links placed into another stream. If you set true, the server will resolve those links and will return the event that the link points to. Default: false.

Sends asynchronously the read command to the server.

Auto Trait Implementations

impl<'a> Send for ReadStreamEvents<'a>

impl<'a> Sync for ReadStreamEvents<'a>