pub enum CommunicationConnector {
Can(CanCommunicationConnector),
Ethernet(EthernetCommunicationConnector),
Flexray(FlexrayCommunicationConnector),
}
Expand description
wraps all different kinds of communication connector
Variants§
Can(CanCommunicationConnector)
The CommunicationConnector
is a CanCommunicationConnector
Ethernet(EthernetCommunicationConnector)
The CommunicationConnector
is an EthernetCommunicationConnector
Flexray(FlexrayCommunicationConnector)
The CommunicationConnector
is a FlexrayCommunicationConnector
Trait Implementations§
Source§impl AbstractCommunicationConnector for CommunicationConnector
impl AbstractCommunicationConnector for CommunicationConnector
Source§type CommunicationControllerType = CommunicationController
type CommunicationControllerType = CommunicationController
The controller type of the
CommunicationConnector
Source§fn controller(
&self,
) -> Result<Self::CommunicationControllerType, AutosarAbstractionError>
fn controller( &self, ) -> Result<Self::CommunicationControllerType, AutosarAbstractionError>
Get the controller of the
CommunicationConnector
Source§fn ecu_instance(&self) -> Result<EcuInstance, AutosarAbstractionError>
fn ecu_instance(&self) -> Result<EcuInstance, AutosarAbstractionError>
Get the
EcuInstance
that contains this CommunicationConnector
Source§impl Clone for CommunicationConnector
impl Clone for CommunicationConnector
Source§fn clone(&self) -> CommunicationConnector
fn clone(&self) -> CommunicationConnector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommunicationConnector
impl Debug for CommunicationConnector
Source§impl PartialEq for CommunicationConnector
impl PartialEq for CommunicationConnector
Source§impl TryFrom<Element> for CommunicationConnector
impl TryFrom<Element> for CommunicationConnector
impl Eq for CommunicationConnector
impl StructuralPartialEq for CommunicationConnector
Auto Trait Implementations§
impl Freeze for CommunicationConnector
impl !RefUnwindSafe for CommunicationConnector
impl Send for CommunicationConnector
impl Sync for CommunicationConnector
impl Unpin for CommunicationConnector
impl !UnwindSafe for CommunicationConnector
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.