Trait ICapeUnitPort

Source
pub trait ICapeUnitPort {
    // Required methods
    fn get_port_type(&mut self) -> Result<CapePortType, COBIAError>;
    fn get_direction(&mut self) -> Result<CapePortDirection, COBIAError>;
    fn get_connected_object(&mut self) -> Result<CapeObject, COBIAError>;
    fn connect(
        &mut self,
        object_to_connect: CapeObject,
    ) -> Result<(), COBIAError>;
    fn disconnect(&mut self) -> Result<(), COBIAError>;
}
Expand description

ICapeUnitPort

ICapeUnitPort interface

Required Methods§

Implementors§