public bool Equals(WriteResult other) => NextExpectedVersion == other.NextExpectedVersion && LogPosition.Equals(other.LogPosition);
public bool Equals(ConditionalWriteResult other) => NextExpectedVersion == other.NextExpectedVersion && LogPosition.Equals(other.LogPosition) && Status == other.Status;