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