pub enum RealtimeSessionTransactionError<M, C>{
Generation(RealtimeGenerationTransactionError<M, C>),
IdentityMismatch,
BatchMismatch,
}Expand description
Failure while publishing or discarding complete session state.
Variants§
Generation(RealtimeGenerationTransactionError<M, C>)
Atomic generation-state transaction failed.
IdentityMismatch
An unpublished branch did not retain its exact session identity.
BatchMismatch
An unpublished branch attempted to change committed batch.
Trait Implementations§
Source§impl<M, C> Debug for RealtimeSessionTransactionError<M, C>
impl<M, C> Debug for RealtimeSessionTransactionError<M, C>
Source§impl<M, C> Display for RealtimeSessionTransactionError<M, C>
impl<M, C> Display for RealtimeSessionTransactionError<M, C>
Source§impl<M, C> Error for RealtimeSessionTransactionError<M, C>
impl<M, C> Error for RealtimeSessionTransactionError<M, C>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<M, C> Freeze for RealtimeSessionTransactionError<M, C>where
RealtimeGenerationTransactionError<M, C>: Freeze,
impl<M, C> RefUnwindSafe for RealtimeSessionTransactionError<M, C>where
RealtimeGenerationTransactionError<M, C>: RefUnwindSafe,
impl<M, C> Send for RealtimeSessionTransactionError<M, C>where
RealtimeGenerationTransactionError<M, C>: Send,
impl<M, C> Sync for RealtimeSessionTransactionError<M, C>where
RealtimeGenerationTransactionError<M, C>: Sync,
impl<M, C> Unpin for RealtimeSessionTransactionError<M, C>where
RealtimeGenerationTransactionError<M, C>: Unpin,
impl<M, C> UnsafeUnpin for RealtimeSessionTransactionError<M, C>where
RealtimeGenerationTransactionError<M, C>: UnsafeUnpin,
impl<M, C> UnwindSafe for RealtimeSessionTransactionError<M, C>where
RealtimeGenerationTransactionError<M, C>: UnwindSafe,
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