[][src]Struct airsim::car::Car

pub struct Car { /* fields omitted */ }

Methods

impl Car[src]

pub async fn connect(addrs: impl ToSocketAddrs) -> Result<Self>[src]

pub async fn ping<'_>(&'_ self) -> Result<Option<Response>>[src]

pub async fn turn_right<'_>(&'_ mut self) -> Result<()>[src]

pub async fn turn_left<'_>(&'_ mut self) -> Result<()>[src]

pub async fn go_backward<'_>(&'_ mut self) -> Result<()>[src]

pub async fn stop<'_>(&'_ mut self) -> Result<()>[src]

pub async fn reset<'_>(&'_ self) -> Result<()>[src]

pub async fn get_client_version<'_>(&'_ self) -> Result<String>[src]

pub async fn get_server_version<'_>(&'_ self) -> Result<i64>[src]

Auto Trait Implementations

impl !RefUnwindSafe for Car

impl Send for Car

impl Sync for Car

impl Unpin for Car

impl !UnwindSafe for Car

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.