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§
Sourcefn set_is_service(
&self,
is_service: Option<bool>,
) -> Result<(), AutosarAbstractionError>
fn set_is_service( &self, is_service: Option<bool>, ) -> Result<(), AutosarAbstractionError>
Set the isService property for this port interface
Sourcefn is_service(&self) -> Option<bool>
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.