pub enum StreamHistoryError {
Empty,
TooManyEvents,
RevisionMismatch {
expected: StreamRevision,
actual: StreamRevision,
},
}Expand description
English:
Reason that event data cannot form a complete StreamHistory.
日本語:
イベントデータから完全な StreamHistory を構築できない理由です。
Variants§
Empty
English:
The event vector is empty.
日本語:
イベントのベクターが空です。
TooManyEvents
English:
The event count exceeds the range of u64.
日本語:
イベント数が u64 の範囲を超えています。
RevisionMismatch
English:
The final revision differs from the event count minus one.
日本語:
最終リビジョンがイベント数から 1 を引いた値と異なります。
Fields
§
expected: StreamRevisionEnglish:
Final revision calculated from the event count.
日本語:
イベント数から算出した最終リビジョンです。
§
actual: StreamRevisionEnglish:
Final revision supplied by the caller.
日本語:
呼び出し側が指定した最終リビジョンです。
Trait Implementations§
Source§impl Clone for StreamHistoryError
impl Clone for StreamHistoryError
Source§fn clone(&self) -> StreamHistoryError
fn clone(&self) -> StreamHistoryError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamHistoryError
Source§impl Debug for StreamHistoryError
impl Debug for StreamHistoryError
impl Eq for StreamHistoryError
Source§impl PartialEq for StreamHistoryError
impl PartialEq for StreamHistoryError
impl StructuralPartialEq for StreamHistoryError
Auto Trait Implementations§
impl Freeze for StreamHistoryError
impl RefUnwindSafe for StreamHistoryError
impl Send for StreamHistoryError
impl Sync for StreamHistoryError
impl Unpin for StreamHistoryError
impl UnsafeUnpin for StreamHistoryError
impl UnwindSafe for StreamHistoryError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more