pub struct StreamEventMessage<'a> {
pub object_key: &'a [u8],
pub stream_info: DsmStreamInfo<'a>,
pub event_names: Vec<&'a [u8]>,
pub object_info_extra: &'a [u8],
pub service_context: Vec<ServiceContext<'a>>,
pub taps: Vec<Tap<'a>>,
pub event_ids: Vec<u16>,
}Expand description
BIOP::StreamEventMessage — TR 101 202 §4.7.4.5, Table 4.13.
objectKind = "ste\0".
Fields§
§object_key: &'a [u8]objectKey_data.
stream_info: DsmStreamInfo<'a>DSM::Stream::Info_T parsed from the head of objectInfo.
event_names: Vec<&'a [u8]>Event names from DSM::Event::EventList_T (each = raw eventName_data bytes,
without the length prefix).
object_info_extra: &'a [u8]Trailing objectInfo bytes after Info_T and EventList_T (may be empty).
service_context: Vec<ServiceContext<'a>>Parsed serviceContextList entries.
taps: Vec<Tap<'a>>Tap entries from the message body.
event_ids: Vec<u16>eventId values — one per event_names entry.
Implementations§
Source§impl<'a> StreamEventMessage<'a>
impl<'a> StreamEventMessage<'a>
Sourcepub fn serialized_len_total(&self) -> usize
pub fn serialized_len_total(&self) -> usize
Total serialized length including the 12-byte BIOP header.
Trait Implementations§
Source§impl<'a> Clone for StreamEventMessage<'a>
impl<'a> Clone for StreamEventMessage<'a>
Source§fn clone(&self) -> StreamEventMessage<'a>
fn clone(&self) -> StreamEventMessage<'a>
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<'a> Debug for StreamEventMessage<'a>
impl<'a> Debug for StreamEventMessage<'a>
impl<'a> Eq for StreamEventMessage<'a>
Source§impl<'a> PartialEq for StreamEventMessage<'a>
impl<'a> PartialEq for StreamEventMessage<'a>
Source§fn eq(&self, other: &StreamEventMessage<'a>) -> bool
fn eq(&self, other: &StreamEventMessage<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for StreamEventMessage<'a>
impl<'a> Serialize for StreamEventMessage<'a>
impl<'a> StructuralPartialEq for StreamEventMessage<'a>
Auto Trait Implementations§
impl<'a> Freeze for StreamEventMessage<'a>
impl<'a> RefUnwindSafe for StreamEventMessage<'a>
impl<'a> Send for StreamEventMessage<'a>
impl<'a> Sync for StreamEventMessage<'a>
impl<'a> Unpin for StreamEventMessage<'a>
impl<'a> UnsafeUnpin for StreamEventMessage<'a>
impl<'a> UnwindSafe for StreamEventMessage<'a>
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