pub struct EthernetCommunicationConnector(/* private fields */);
Expand description
A connector between an EthernetCommunicationController
in an ECU and an EthernetPhysicalChannel
Trait Implementations§
Source§impl AbstractCommunicationConnector for EthernetCommunicationConnector
impl AbstractCommunicationConnector for EthernetCommunicationConnector
Source§type CommunicationControllerType = EthernetCommunicationController
type CommunicationControllerType = EthernetCommunicationController
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 EthernetCommunicationConnector
impl Clone for EthernetCommunicationConnector
Source§fn clone(&self) -> EthernetCommunicationConnector
fn clone(&self) -> EthernetCommunicationConnector
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 From<EthernetCommunicationConnector> for Element
impl From<EthernetCommunicationConnector> for Element
Source§fn from(val: EthernetCommunicationConnector) -> Self
fn from(val: EthernetCommunicationConnector) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EthernetCommunicationConnector
impl PartialEq for EthernetCommunicationConnector
Source§fn eq(&self, other: &EthernetCommunicationConnector) -> bool
fn eq(&self, other: &EthernetCommunicationConnector) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for EthernetCommunicationConnector
impl StructuralPartialEq for EthernetCommunicationConnector
Auto Trait Implementations§
impl Freeze for EthernetCommunicationConnector
impl !RefUnwindSafe for EthernetCommunicationConnector
impl Send for EthernetCommunicationConnector
impl Sync for EthernetCommunicationConnector
impl Unpin for EthernetCommunicationConnector
impl !UnwindSafe for EthernetCommunicationConnector
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.