[−][src]Module eventstore::types
Common types used across the library.
Structs
AllSlice | Represents a slice of the '$all' stream. |
Credentials | Holds login and password information. |
Endpoint | |
EventData | Holds data of event about to be sent to the server. |
GossipSeed | Represents a source of cluster gossip. |
GossipSeedClusterSettings | Contains settings related to a cluster of fixed nodes. |
PersistentSubEvent | |
PersistentSubRead | Read part of a persistent subscription, isomorphic to a stream of events. |
PersistentSubWrite | Write part of a persistent subscription. Used to either acknowledge or report error on a persistent subscription. |
PersistentSubscriptionSettings | Gathers every persistent subscription property. |
Position | A structure referring to a potential logical record position in the GetEventStore transaction file. |
ReadEventResult | Represents the result of looking up a specific event number from a stream. |
RecordedEvent | Represents a previously written event. |
ResolvedEvent | A structure representing a single event or an resolved link event. |
Settings | Global connection settings. |
StreamAcl | Represents an access control list for a stream. |
StreamMetadata | Represents stream metadata with strongly types properties for system values and a dictionary-like interface for custom values. |
StreamMetadataBuilder | Used to facilitate the creation of a stream's metadata. |
StreamSlice | Represents the slice returned when reading a regular stream. |
TransactionId | The id of a transaction. |
VersionedMetadata | Represents a stream metadata. |
WriteResult | Returned after writing to a stream. |
Enums
ExpectedVersion | Constants used for expected version control. The use of expected version can be a bit tricky especially when discussing assurances given by the GetEventStore server. |
LinkTos | Determines whether any link event encountered in the stream will be resolved. See the discussion on Resolved Events for more information on this. |
LocatedEvents | Indicates either if we reach the end of a stream or a slice of events when
reading a stream. |
NakAction | Gathers every possible Nak actions. |
NodePreference | Indicates which order of preferred nodes for connecting to. |
OperationError | |
Payload | |
PersistActionError | Enumerates all persistent action exceptions. |
PersistActionResult | Represents the different scenarios that could happen when performing a persistent subscription. |
ReadDirection | Represents the direction of read operation (both from '$all' and a regular stream). |
ReadEventStatus | Enumeration detailing the possible outcomes of reading a stream. |
ReadStreamError | Represents the errors that can arise when reading a stream. |
ReadStreamStatus | Represents the result of reading a stream. |
Retry | Represents a reconnection strategy when a connection has dropped or is about to be created. |
StreamMetadataResult | Represents stream metadata as a series of properties for system data and user-defined metadata. |
SubEvent | Events related to a subscription. |
SystemConsumerStrategy | System supported consumer strategies for use with persistent subscriptions. |
Traits
Slice | Gathers common slice operations. |