pub enum ServiceInstance {
Provided(ProvidedServiceInstance),
Consumed(ConsumedServiceInstance),
}
Expand description
A ServiceInstance
is a service that is provided or consumed by an ECU
Variants§
Provided(ProvidedServiceInstance)
A service that is provided by an ECU
Consumed(ConsumedServiceInstance)
A service that is consumed by an ECU
Trait Implementations§
Source§impl AbstractionElement for ServiceInstance
impl AbstractionElement for ServiceInstance
Source§impl Clone for ServiceInstance
impl Clone for ServiceInstance
Source§fn clone(&self) -> ServiceInstance
fn clone(&self) -> ServiceInstance
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 ServiceInstance
impl Debug for ServiceInstance
Source§impl Hash for ServiceInstance
impl Hash for ServiceInstance
Source§impl PartialEq for ServiceInstance
impl PartialEq for ServiceInstance
Source§impl TryFrom<Element> for ServiceInstance
impl TryFrom<Element> for ServiceInstance
impl Eq for ServiceInstance
impl StructuralPartialEq for ServiceInstance
Auto Trait Implementations§
impl Freeze for ServiceInstance
impl !RefUnwindSafe for ServiceInstance
impl Send for ServiceInstance
impl Sync for ServiceInstance
impl Unpin for ServiceInstance
impl !UnwindSafe for ServiceInstance
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.