asyn-rs 0.6.1

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

/// Connection management interface (asynCommon equivalent).
pub trait AsynCommon: Send + Sync {
    fn connect(&mut self, user: &AsynUser) -> AsynResult<()>;
    fn disconnect(&mut self, user: &AsynUser) -> AsynResult<()>;
    fn report(&self, level: i32);
}