pub struct DefaultSolver;Expand description
Default Solver implementation used by SwitchboardCore.
Trait Implementations§
Source§impl Default for DefaultSolver
impl Default for DefaultSolver
Source§fn default() -> DefaultSolver
fn default() -> DefaultSolver
Returns the “default value” for a type. Read more
Source§impl Solver for DefaultSolver
impl Solver for DefaultSolver
Source§fn solve(
&self,
endpoints: &HashMap<EndpointId, EndpointDirections>,
intents: &[Intent],
) -> Result<Solution, SwitchboardError>
fn solve( &self, endpoints: &HashMap<EndpointId, EndpointDirections>, intents: &[Intent], ) -> Result<Solution, SwitchboardError>
Build a wiring solution for the supplied endpoints and intents.
Auto Trait Implementations§
impl Freeze for DefaultSolver
impl RefUnwindSafe for DefaultSolver
impl Send for DefaultSolver
impl Sync for DefaultSolver
impl Unpin for DefaultSolver
impl UnsafeUnpin for DefaultSolver
impl UnwindSafe for DefaultSolver
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