pub struct EventGroupEntry {
pub index_first_options_run: u8,
pub index_second_options_run: u8,
pub options_count: OptionsCount,
pub service_id: u16,
pub instance_id: u16,
pub major_version: u8,
pub ttl: u32,
pub counter: u16,
pub event_group_id: u16,
}Expand description
An SD entry for event group operations (subscribe / subscribe-ack).
Fields§
§index_first_options_run: u8Index into the options array for the first options run.
index_second_options_run: u8Index into the options array for the second options run.
options_count: OptionsCountNumber of options in each run.
service_id: u16The SOME/IP service ID.
instance_id: u16The SOME/IP instance ID.
major_version: u8The major version of the service interface.
ttl: u32Time-to-live in seconds (24-bit value).
counter: u16Event group counter.
event_group_id: u16The event group ID.
Implementations§
Trait Implementations§
Source§impl Clone for EventGroupEntry
impl Clone for EventGroupEntry
Source§fn clone(&self) -> EventGroupEntry
fn clone(&self) -> EventGroupEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventGroupEntry
impl Debug for EventGroupEntry
Source§impl Encode for EventGroupEntry
impl Encode for EventGroupEntry
Source§type Error = Error
type Error = Error
Per-implementation error; constructible from an I/O
embedded_io::ErrorKind
so the fixed-width write_* leaf helpers lift through ?. Read moreSource§fn encode(&self, writer: &mut impl Write) -> Result<usize, Self::Error>
fn encode(&self, writer: &mut impl Write) -> Result<usize, Self::Error>
Serialize into
writer; return the number of bytes written. Read moreSource§fn encode_to_slice(
&self,
buf: &mut [u8],
) -> Result<usize, EncodeToSliceError<Self::Error>>
fn encode_to_slice( &self, buf: &mut [u8], ) -> Result<usize, EncodeToSliceError<Self::Error>>
Encode into a fixed slice, reporting
needed/available
(InsufficientBuffer) instead of a bare
embedded_io::ErrorKind::WriteZero when the slice is too small, and
hiding the &mut &mut [u8] cursor re-borrow every fixed-buffer call
site otherwise writes by hand. Read moreimpl Eq for EventGroupEntry
Source§impl PartialEq for EventGroupEntry
impl PartialEq for EventGroupEntry
impl StructuralPartialEq for EventGroupEntry
Auto Trait Implementations§
impl Freeze for EventGroupEntry
impl RefUnwindSafe for EventGroupEntry
impl Send for EventGroupEntry
impl Sync for EventGroupEntry
impl Unpin for EventGroupEntry
impl UnsafeUnpin for EventGroupEntry
impl UnwindSafe for EventGroupEntry
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