pub enum EventRouterError {
MissingTarget(StationId),
Queue(EventQueueError),
}Expand description
Event router error.
Variants§
MissingTarget(StationId)
Target station was not registered with the router.
Queue(EventQueueError)
Underlying target queue rejected the event.
Trait Implementations§
Source§impl Clone for EventRouterError
impl Clone for EventRouterError
Source§fn clone(&self) -> EventRouterError
fn clone(&self) -> EventRouterError
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 EventRouterError
Source§impl Debug for EventRouterError
impl Debug for EventRouterError
Source§impl Display for EventRouterError
impl Display for EventRouterError
impl Eq for EventRouterError
Source§impl Error for EventRouterError
impl Error for EventRouterError
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<EventQueueError> for EventRouterError
impl From<EventQueueError> for EventRouterError
Source§fn from(value: EventQueueError) -> Self
fn from(value: EventQueueError) -> Self
Converts to this type from the input type.
Source§impl<E> From<EventRouterError> for StationEventTransportError<E>
impl<E> From<EventRouterError> for StationEventTransportError<E>
Source§fn from(value: EventRouterError) -> Self
fn from(value: EventRouterError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EventRouterError
impl PartialEq for EventRouterError
impl StructuralPartialEq for EventRouterError
Auto Trait Implementations§
impl Freeze for EventRouterError
impl RefUnwindSafe for EventRouterError
impl Send for EventRouterError
impl Sync for EventRouterError
impl Unpin for EventRouterError
impl UnsafeUnpin for EventRouterError
impl UnwindSafe for EventRouterError
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