pub enum RoutingError {
Config(String),
Dds(String),
TypeShape {
route: String,
reason: String,
},
Filter {
route: String,
reason: String,
},
Transform {
route: String,
reason: String,
},
Internal(&'static str),
}Expand description
Failure modes of the routing service.
Variants§
Config(String)
Invalid or unparseable configuration.
Dds(String)
A DDS participant/reader/writer could not be created or used.
TypeShape
A route references a type that could not be resolved into a DynamicData shape (required for content filtering or transformation).
Filter
A content-filter expression failed to parse.
Transform
A transform rule was invalid for the route’s type.
Internal(&'static str)
Internal lock poisoned.
Trait Implementations§
Source§impl Debug for RoutingError
impl Debug for RoutingError
Source§impl Display for RoutingError
impl Display for RoutingError
Source§impl Error for RoutingError
impl Error for RoutingError
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 RoutingError
impl RefUnwindSafe for RoutingError
impl Send for RoutingError
impl Sync for RoutingError
impl Unpin for RoutingError
impl UnsafeUnpin for RoutingError
impl UnwindSafe for RoutingError
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