pub struct CanCommunicationConnector(/* private fields */);
Expand description
A connector between a CanCommunicationController
in an ECU and a CanPhysicalChannel
Trait Implementations§
Source§impl AbstractCommunicationConnector for CanCommunicationConnector
impl AbstractCommunicationConnector for CanCommunicationConnector
Source§type CommunicationControllerType = CanCommunicationController
type CommunicationControllerType = CanCommunicationController
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 CanCommunicationConnector
impl Clone for CanCommunicationConnector
Source§fn clone(&self) -> CanCommunicationConnector
fn clone(&self) -> CanCommunicationConnector
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 CanCommunicationConnector
impl Debug for CanCommunicationConnector
Source§impl From<CanCommunicationConnector> for Element
impl From<CanCommunicationConnector> for Element
Source§fn from(val: CanCommunicationConnector) -> Self
fn from(val: CanCommunicationConnector) -> Self
Converts to this type from the input type.
Source§impl Hash for CanCommunicationConnector
impl Hash for CanCommunicationConnector
Source§impl TryFrom<Element> for CanCommunicationConnector
impl TryFrom<Element> for CanCommunicationConnector
impl Eq for CanCommunicationConnector
impl StructuralPartialEq for CanCommunicationConnector
Auto Trait Implementations§
impl Freeze for CanCommunicationConnector
impl !RefUnwindSafe for CanCommunicationConnector
impl Send for CanCommunicationConnector
impl Sync for CanCommunicationConnector
impl Unpin for CanCommunicationConnector
impl !UnwindSafe for CanCommunicationConnector
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.