pub struct SteeringHandle { /* private fields */ }Implementations§
Source§impl SteeringHandle
impl SteeringHandle
Sourcepub fn steer(
&self,
message: AgentMessage,
) -> Result<(), SendError<AgentMessage>>
pub fn steer( &self, message: AgentMessage, ) -> Result<(), SendError<AgentMessage>>
Inject a steering message. Returns Ok if the loop is still
running, Err if it has already shut down.
Trait Implementations§
Source§impl Clone for SteeringHandle
impl Clone for SteeringHandle
Source§fn clone(&self) -> SteeringHandle
fn clone(&self) -> SteeringHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SteeringHandle
impl RefUnwindSafe for SteeringHandle
impl Send for SteeringHandle
impl Sync for SteeringHandle
impl Unpin for SteeringHandle
impl UnsafeUnpin for SteeringHandle
impl UnwindSafe for SteeringHandle
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