pub enum RuntimeSubscriptionError {
Replay(RuntimeEventStoreError),
Live(RuntimeStreamError),
}Expand description
Errors raised while assembling a RuntimeSubscription.
Variants§
Replay(RuntimeEventStoreError)
Replay failed against the event store.
Live(RuntimeStreamError)
Live subscription failed against the stream adapter.
Trait Implementations§
Source§impl Debug for RuntimeSubscriptionError
impl Debug for RuntimeSubscriptionError
Source§impl Display for RuntimeSubscriptionError
impl Display for RuntimeSubscriptionError
Source§impl Error for RuntimeSubscriptionError
impl Error for RuntimeSubscriptionError
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()
Source§impl From<RuntimeEventStoreError> for RuntimeSubscriptionError
impl From<RuntimeEventStoreError> for RuntimeSubscriptionError
Source§fn from(source: RuntimeEventStoreError) -> Self
fn from(source: RuntimeEventStoreError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeStreamError> for RuntimeSubscriptionError
impl From<RuntimeStreamError> for RuntimeSubscriptionError
Source§fn from(source: RuntimeStreamError) -> Self
fn from(source: RuntimeStreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuntimeSubscriptionError
impl RefUnwindSafe for RuntimeSubscriptionError
impl Send for RuntimeSubscriptionError
impl Sync for RuntimeSubscriptionError
impl Unpin for RuntimeSubscriptionError
impl UnsafeUnpin for RuntimeSubscriptionError
impl UnwindSafe for RuntimeSubscriptionError
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