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