pub struct InterfaceVersion(/* private fields */);
Expand description
SOME/IP interface version.
Trait Implementations§
Source§impl Clone for InterfaceVersion
impl Clone for InterfaceVersion
Source§fn clone(&self) -> InterfaceVersion
fn clone(&self) -> InterfaceVersion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InterfaceVersion
impl Debug for InterfaceVersion
Source§impl From<InterfaceVersion> for u8
impl From<InterfaceVersion> for u8
Source§fn from(value: InterfaceVersion) -> u8
fn from(value: InterfaceVersion) -> u8
Converts to this type from the input type.
Source§impl From<u8> for InterfaceVersion
impl From<u8> for InterfaceVersion
Source§fn from(value: u8) -> InterfaceVersion
fn from(value: u8) -> InterfaceVersion
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for InterfaceVersion
impl<'a> Parse<'a> for InterfaceVersion
Source§fn parse_partial(
reader: &mut ByteReader<'a>,
) -> Result<InterfaceVersion, ParseError>
fn parse_partial( reader: &mut ByteReader<'a>, ) -> Result<InterfaceVersion, ParseError>
Parses a SOME/IP payload type from a given slice of bytes. Read more
Source§impl PartialEq for InterfaceVersion
impl PartialEq for InterfaceVersion
Source§impl<'a> Serialize for InterfaceVersion
impl<'a> Serialize for InterfaceVersion
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 InterfaceVersion
impl Eq for InterfaceVersion
impl StructuralPartialEq for InterfaceVersion
Auto Trait Implementations§
impl Freeze for InterfaceVersion
impl RefUnwindSafe for InterfaceVersion
impl Send for InterfaceVersion
impl Sync for InterfaceVersion
impl Unpin for InterfaceVersion
impl UnwindSafe for InterfaceVersion
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