pub enum PortInterface {
SenderReceiverInterface(SenderReceiverInterface),
ClientServerInterface(ClientServerInterface),
ModeSwitchInterface(ModeSwitchInterface),
ParameterInterface(ParameterInterface),
NvDataInterface(NvDataInterface),
TriggerInterface(TriggerInterface),
}
Expand description
The PortInterface
enum represents all possible port interfaces
Variants§
SenderReceiverInterface(SenderReceiverInterface)
The interface is a sender-receiver interface
ClientServerInterface(ClientServerInterface)
The interface is a client-server interface
ModeSwitchInterface(ModeSwitchInterface)
The interface is a mode switch interface
ParameterInterface(ParameterInterface)
The interface is a parameter interface
NvDataInterface(NvDataInterface)
The interface is a non-volatile data interface
TriggerInterface(TriggerInterface)
The interface is a trigger interface
Trait Implementations§
Source§impl AbstractPortInterface for PortInterface
impl AbstractPortInterface for PortInterface
Source§fn 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
Source§fn is_service(&self) -> Option<bool>
fn is_service(&self) -> Option<bool>
Get the isService property for this port interface
Source§impl AbstractionElement for PortInterface
impl AbstractionElement for PortInterface
Source§impl Clone for PortInterface
impl Clone for PortInterface
Source§fn clone(&self) -> PortInterface
fn clone(&self) -> PortInterface
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 PortInterface
impl Debug for PortInterface
Source§impl Hash for PortInterface
impl Hash for PortInterface
Source§impl PartialEq for PortInterface
impl PartialEq for PortInterface
Source§impl TryFrom<Element> for PortInterface
impl TryFrom<Element> for PortInterface
impl Eq for PortInterface
impl StructuralPartialEq for PortInterface
Auto Trait Implementations§
impl Freeze for PortInterface
impl !RefUnwindSafe for PortInterface
impl Send for PortInterface
impl Sync for PortInterface
impl Unpin for PortInterface
impl !UnwindSafe for PortInterface
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.