unikernel 0.1.0

μnikernel, a unikernel for microcontrollers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use core::future::Future;

pub trait Keyboard {
	type Error;
	type Subscriber;

	fn subscribe(&self) -> impl Future<Output = Result<Self::Subscriber, Self::Error>> + Send;
}

#[derive(Copy, Clone)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Layout {
	Uk,
	Us,
}