pub trait AbstractIpdu: AbstractPdu + Into<IPdu> {
// Provided methods
fn set_contained_ipdu_props(
&self,
props: Option<&ContainedIPduProps>,
) -> Result<(), AutosarAbstractionError> { ... }
fn contained_ipdu_props(&self) -> Option<ContainedIPduProps> { ... }
}
Expand description
for now this is a marker trait to identify IPdus
Provided Methods§
Sourcefn set_contained_ipdu_props(
&self,
props: Option<&ContainedIPduProps>,
) -> Result<(), AutosarAbstractionError>
fn set_contained_ipdu_props( &self, props: Option<&ContainedIPduProps>, ) -> Result<(), AutosarAbstractionError>
set the ContainedIPduProps
for this IPdu
This is only relevant for IPdus
that will be transmitted in ContainerIPdus
Sourcefn contained_ipdu_props(&self) -> Option<ContainedIPduProps>
fn contained_ipdu_props(&self) -> Option<ContainedIPduProps>
get the ContainedIPduProps
for this IPdu
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.