podo-core-driver 0.4.4

Podo Driver FFI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(feature = "os")]
use serde::Serialize;

#[cfg_attr(feature = "os", derive(Serialize))]
pub enum RobotStatus {
    Idle,
    Running(Vec<String>),
    Unknown(String),
}

#[cfg_attr(feature = "os", derive(Serialize))]
pub struct RobotInfo {
    pub name: String,
    pub icon: String,
}