pub struct Awkward { /* private fields */ }Expand description
An agent that answers in the shapes a provider adapter produces.
Implementations§
Trait Implementations§
Source§impl Agent for Awkward
impl Agent for Awkward
Source§type State = Board
type State = Board
The run’s shared state, deserialized from
RunAgentInput::state and published
through RunContext::set_state.Source§async fn run(&self, ctx: &mut RunContext<Board>) -> Result<RunOutcome>
async fn run(&self, ctx: &mut RunContext<Board>) -> Result<RunOutcome>
Serves one run. Read more
Auto Trait Implementations§
impl Freeze for Awkward
impl RefUnwindSafe for Awkward
impl Send for Awkward
impl Sync for Awkward
impl Unpin for Awkward
impl UnsafeUnpin for Awkward
impl UnwindSafe for Awkward
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