pub enum SwitchboardError {
InvalidEndpoint,
DirectionMismatch,
Unsolveable,
}Expand description
Errors produced while planning switchboard wiring.
Variants§
InvalidEndpoint
An invalid endpoint identifier was referenced.
DirectionMismatch
The requested directions are incompatible.
Unsolveable
The solver could not find a valid wiring.
Trait Implementations§
Source§impl Debug for SwitchboardError
impl Debug for SwitchboardError
Source§impl Display for SwitchboardError
impl Display for SwitchboardError
Source§impl Error for SwitchboardError
impl Error for SwitchboardError
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 SwitchboardError
impl RefUnwindSafe for SwitchboardError
impl Send for SwitchboardError
impl Sync for SwitchboardError
impl Unpin for SwitchboardError
impl UnsafeUnpin for SwitchboardError
impl UnwindSafe for SwitchboardError
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