asyn-rs 0.6.1

Rust port of EPICS asyn - async device I/O framework
Documentation
1
2
3
4
5
6
7
use crate::error::AsynResult;

/// Key/value configuration interface (asynOption equivalent).
pub trait AsynOption: Send + Sync {
    fn get_option(&self, key: &str) -> AsynResult<String>;
    fn set_option(&mut self, key: &str, value: &str) -> AsynResult<()>;
}