pub enum RedisEventBusError {
Open(String),
EmptyTopic,
Publish(String),
Subscribe(String),
StreamEnded,
}Expand description
Redis event transport errors returned while creating a publisher.
Variants§
Open(String)
The Redis client could not be created from the configured URL.
EmptyTopic
A configured event topic is empty.
Publish(String)
Publishing failed.
Subscribe(String)
Opening a subscription failed.
StreamEnded
An active subscription ended unexpectedly.
Trait Implementations§
Source§impl Debug for RedisEventBusError
impl Debug for RedisEventBusError
Source§impl Display for RedisEventBusError
impl Display for RedisEventBusError
Source§impl Error for RedisEventBusError
impl Error for RedisEventBusError
1.30.0 · 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 Freeze for RedisEventBusError
impl RefUnwindSafe for RedisEventBusError
impl Send for RedisEventBusError
impl Sync for RedisEventBusError
impl Unpin for RedisEventBusError
impl UnsafeUnpin for RedisEventBusError
impl UnwindSafe for RedisEventBusError
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