tigrbl_rs_ports 0.4.1

Trait and envelope boundaries for Rust atoms, handlers, engines, and callbacks.
Documentation
1
2
3
4
5
6
use crate::{errors::PortResult, sessions::SessionPort};

pub trait EnginePort: Send + Sync {
    fn kind(&self) -> &str;
    fn open(&self) -> PortResult<Box<dyn SessionPort>>;
}