pub struct OptionsCount { /* private fields */ }
Expand description
A wrapper type to gracefully parse the two u4
option counts of the EventgroupEntry
.
Implementations§
Trait Implementations§
Source§impl Clone for OptionsCount
impl Clone for OptionsCount
Source§fn clone(&self) -> OptionsCount
fn clone(&self) -> OptionsCount
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 OptionsCount
impl Debug for OptionsCount
Source§impl<'a> Parse<'a> for OptionsCount
impl<'a> Parse<'a> for OptionsCount
Source§fn parse_partial(
reader: &mut ByteReader<'a>,
) -> Result<OptionsCount, ParseError>
fn parse_partial( reader: &mut ByteReader<'a>, ) -> Result<OptionsCount, ParseError>
Parses a SOME/IP payload type from a given slice of bytes. Read more
Source§impl PartialEq for OptionsCount
impl PartialEq for OptionsCount
Source§impl Serialize for OptionsCount
impl Serialize for OptionsCount
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,
writer: &mut ByteWriter<'_>,
) -> Result<(), SerializeError>
fn serialize_partial( &self, writer: &mut ByteWriter<'_>, ) -> Result<(), SerializeError>
Serializes to a byte writer.
impl Copy for OptionsCount
impl Eq for OptionsCount
impl StructuralPartialEq for OptionsCount
Auto Trait Implementations§
impl Freeze for OptionsCount
impl RefUnwindSafe for OptionsCount
impl Send for OptionsCount
impl Sync for OptionsCount
impl Unpin for OptionsCount
impl UnwindSafe for OptionsCount
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