pub enum EventBusError {
Source(String),
ChannelClosed,
}Expand description
Errors specific to event bus operations.
Variants§
Implementations§
Source§impl EventBusError
impl EventBusError
Sourcepub fn is_retryable(&self) -> bool
pub fn is_retryable(&self) -> bool
Returns true if the error is potentially transient.
Trait Implementations§
Source§impl Debug for EventBusError
impl Debug for EventBusError
Source§impl Display for EventBusError
impl Display for EventBusError
Source§impl Error for EventBusError
impl Error for EventBusError
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()
Source§impl From<EventBusError> for CoreError
impl From<EventBusError> for CoreError
Source§fn from(err: EventBusError) -> Self
fn from(err: EventBusError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventBusError
impl RefUnwindSafe for EventBusError
impl Send for EventBusError
impl Sync for EventBusError
impl Unpin for EventBusError
impl UnsafeUnpin for EventBusError
impl UnwindSafe for EventBusError
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