pub struct ServiceId(/* private fields */);
Expand description
SOME/IP service ID.
Trait Implementations§
Source§impl<'a> Parse<'a> for ServiceId
impl<'a> Parse<'a> for ServiceId
Source§fn parse_partial(reader: &mut ByteReader<'a>) -> Result<ServiceId, ParseError>
fn parse_partial(reader: &mut ByteReader<'a>) -> Result<ServiceId, ParseError>
Parses a SOME/IP payload type from a given slice of bytes. Read more
Source§impl<'a> Serialize for ServiceId
impl<'a> Serialize for ServiceId
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 Copy for ServiceId
impl Eq for ServiceId
impl StructuralPartialEq for ServiceId
Auto Trait Implementations§
impl Freeze for ServiceId
impl RefUnwindSafe for ServiceId
impl Send for ServiceId
impl Sync for ServiceId
impl Unpin for ServiceId
impl UnwindSafe for ServiceId
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