pub struct HarnessBroker { /* private fields */ }Implementations§
Source§impl HarnessBroker
impl HarnessBroker
pub fn new() -> Self
pub fn register<A: HarnessAdapter + 'static>(&mut self, adapter: A)
pub async fn execute( &self, route: &ExecutionRoute, request: HarnessRequest, ) -> Result<HarnessOutcome, HarnessError>
Trait Implementations§
Source§impl Default for HarnessBroker
impl Default for HarnessBroker
Source§fn default() -> HarnessBroker
fn default() -> HarnessBroker
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HarnessBroker
impl !RefUnwindSafe for HarnessBroker
impl Send for HarnessBroker
impl Sync for HarnessBroker
impl Unpin for HarnessBroker
impl UnsafeUnpin for HarnessBroker
impl !UnwindSafe for HarnessBroker
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