pub trait ControlChannel: Send + Sync {
// Required methods
fn read_register<'life0, 'async_trait>(
&'life0 self,
addr: u64,
len: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, TimeError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn write_register<'life0, 'life1, 'async_trait>(
&'life0 self,
addr: u64,
data: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<(), TimeError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Minimal interface required to read/write timestamp registers.