xous-core/services/usb-test/src/api.rs

10 lines
273 B
Rust
Raw Normal View History

2022-03-30 20:37:54 +00:00
pub(crate) const SERVER_NAME_USBTEST: &'static str = "_USB test and development server_";
#[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)]
pub(crate) enum Opcode {
/// Suspend/resume callback
SuspendResume,
/// Exits the server
Quit,
}