pub enum RoutingError {
RuleSetRead {
path: PathBuf,
source: Error,
},
RuleSetParse {
path: PathBuf,
canonical: Option<PathBuf>,
source: Error,
},
}Expand description
All fatal errors produced by routing-layer operations.
Variants§
RuleSetRead
A rule-set TOML file could not be read.
RuleSetParse
A rule-set TOML file could not be parsed.
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
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