pub trait PathfinderClientExt {
// Required methods
fn goto(&self, goal: impl Goal + 'static) -> impl Future<Output = ()>;
fn start_goto(&self, goal: impl Goal + 'static);
fn start_goto_without_mining(&self, goal: impl Goal + 'static);
fn stop_pathfinding(&self);
fn wait_until_goto_target_reached(&self) -> impl Future<Output = ()>;
fn is_goto_target_reached(&self) -> bool;
}
Required Methods§
fn goto(&self, goal: impl Goal + 'static) -> impl Future<Output = ()>
fn start_goto(&self, goal: impl Goal + 'static)
fn start_goto_without_mining(&self, goal: impl Goal + 'static)
fn stop_pathfinding(&self)
fn wait_until_goto_target_reached(&self) -> impl Future<Output = ()>
fn is_goto_target_reached(&self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.