Trait AbstractPortInterface

Source
pub trait AbstractPortInterface: AbstractionElement {
    // Provided methods
    fn set_is_service(
        &self,
        is_service: Option<bool>,
    ) -> Result<(), AutosarAbstractionError> { ... }
    fn is_service(&self) -> Option<bool> { ... }
}
Expand description

The AbstractPortInterface trait is a marker trait for all port interfaces

Provided Methods§

Source

fn set_is_service( &self, is_service: Option<bool>, ) -> Result<(), AutosarAbstractionError>

Set the isService property for this port interface

Source

fn is_service(&self) -> Option<bool>

Get the isService property for this port interface

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§