pub enum Entry {
FindService(ServiceEntry),
OfferService(ServiceEntry),
SubscribeEventgroup(EventgroupEntry),
SubscribeEventgroupAck(EventgroupEntry),
}
Expand description
SOME/IP service discovery entry.
Variants§
FindService(ServiceEntry)
Service Entry with type 0x00.
OfferService(ServiceEntry)
Service Entry with type 0x01.
SubscribeEventgroup(EventgroupEntry)
Eventgroup entry with type 0x06.
SubscribeEventgroupAck(EventgroupEntry)
Eventgroup entry with type 0x07.
Trait Implementations§
Source§impl<'a> Parse<'a> for Entry
impl<'a> Parse<'a> for Entry
Source§fn parse_partial(reader: &mut ByteReader<'a>) -> Result<Entry, ParseError>
fn parse_partial(reader: &mut ByteReader<'a>) -> Result<Entry, ParseError>
Parses a SOME/IP payload type from a given slice of bytes. Read more
Source§impl Serialize for Entry
impl Serialize for Entry
Source§fn required_length(&self) -> usize
fn required_length(&self) -> usize
Returns the number of bytes required to store the serialized version of self.
Source§fn serialize_partial(
&self,
byte_writer: &mut ByteWriter<'_>,
) -> Result<(), SerializeError>
fn serialize_partial( &self, byte_writer: &mut ByteWriter<'_>, ) -> Result<(), SerializeError>
Serializes to a byte writer.
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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