pub struct SomeipSdServerServiceInstanceConfig(/* private fields */);
Expand description
A SomeipSdServerServiceInstanceConfig
is a configuration for a ProvidedServiceInstance
This configuration is a named element that is created separately and can be used by multiple ProvidedServiceInstance
s.
Use ArPackage::create_someip_sd_server_service_instance_config
to create a new SomeipSdServerServiceInstanceConfig
.
Implementations§
Source§impl SomeipSdServerServiceInstanceConfig
impl SomeipSdServerServiceInstanceConfig
Sourcepub fn set_service_offer_time_to_live(
&self,
ttl: u32,
) -> Result<(), AutosarAbstractionError>
pub fn set_service_offer_time_to_live( &self, ttl: u32, ) -> Result<(), AutosarAbstractionError>
set the service offer time to live of this SomeipSdServerServiceInstanceConfig
Sourcepub fn service_offer_time_to_live(&self) -> Option<u32>
pub fn service_offer_time_to_live(&self) -> Option<u32>
get the service offer time to live of this SomeipSdServerServiceInstanceConfig
Sourcepub fn set_offer_cyclic_delay(
&self,
delay: f64,
) -> Result<(), AutosarAbstractionError>
pub fn set_offer_cyclic_delay( &self, delay: f64, ) -> Result<(), AutosarAbstractionError>
set the offer cyclic delay of this SomeipSdServerServiceInstanceConfig
Sourcepub fn offer_cyclic_delay(&self) -> Option<f64>
pub fn offer_cyclic_delay(&self) -> Option<f64>
get the offer cyclic delay of this SomeipSdServerServiceInstanceConfig
Sourcepub fn set_priority(&self, priority: u8) -> Result<(), AutosarAbstractionError>
pub fn set_priority(&self, priority: u8) -> Result<(), AutosarAbstractionError>
set the priority of this SomeipSdServerServiceInstanceConfig
Available since R21-11 (AUTOSAR_00050
)
Sourcepub fn priority(&self) -> Option<u8>
pub fn priority(&self) -> Option<u8>
get the priority of this SomeipSdServerServiceInstanceConfig
Sourcepub fn set_initial_offer_behavior(
&self,
initial_offer_behavior: &InitialSdDelayConfig,
) -> Result<(), AutosarAbstractionError>
pub fn set_initial_offer_behavior( &self, initial_offer_behavior: &InitialSdDelayConfig, ) -> Result<(), AutosarAbstractionError>
set the initial offer behavior of this SomeipSdServerServiceInstanceConfig
Sourcepub fn initial_offer_behavior(&self) -> Option<InitialSdDelayConfig>
pub fn initial_offer_behavior(&self) -> Option<InitialSdDelayConfig>
get the initial offer behavior of this SomeipSdServerServiceInstanceConfig
Sourcepub fn set_request_response_delay(
&self,
request_response_delay: &RequestResponseDelay,
) -> Result<(), AutosarAbstractionError>
pub fn set_request_response_delay( &self, request_response_delay: &RequestResponseDelay, ) -> Result<(), AutosarAbstractionError>
set the request response delay of this SomeipSdServerServiceInstanceConfig
Sourcepub fn request_response_delay(&self) -> Option<RequestResponseDelay>
pub fn request_response_delay(&self) -> Option<RequestResponseDelay>
get the request response delay of this SomeipSdServerServiceInstanceConfig
Trait Implementations§
Source§impl Clone for SomeipSdServerServiceInstanceConfig
impl Clone for SomeipSdServerServiceInstanceConfig
Source§fn clone(&self) -> SomeipSdServerServiceInstanceConfig
fn clone(&self) -> SomeipSdServerServiceInstanceConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl From<SomeipSdServerServiceInstanceConfig> for Element
impl From<SomeipSdServerServiceInstanceConfig> for Element
Source§fn from(val: SomeipSdServerServiceInstanceConfig) -> Self
fn from(val: SomeipSdServerServiceInstanceConfig) -> Self
Source§impl PartialEq for SomeipSdServerServiceInstanceConfig
impl PartialEq for SomeipSdServerServiceInstanceConfig
Source§fn eq(&self, other: &SomeipSdServerServiceInstanceConfig) -> bool
fn eq(&self, other: &SomeipSdServerServiceInstanceConfig) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for SomeipSdServerServiceInstanceConfig
impl StructuralPartialEq for SomeipSdServerServiceInstanceConfig
Auto Trait Implementations§
impl Freeze for SomeipSdServerServiceInstanceConfig
impl !RefUnwindSafe for SomeipSdServerServiceInstanceConfig
impl Send for SomeipSdServerServiceInstanceConfig
impl Sync for SomeipSdServerServiceInstanceConfig
impl Unpin for SomeipSdServerServiceInstanceConfig
impl !UnwindSafe for SomeipSdServerServiceInstanceConfig
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
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
key
and return true
if they are equal.