Struct OptionsCount
pub struct OptionsCount {
inner: u8,
}Available on crate feature
data-support-someip only.Expand description
A wrapper type to gracefully parse the two u4 option counts of the EventgroupEntry.
Fields§
§inner: u8Implementations§
Trait Implementations§
§impl Clone for OptionsCount
impl Clone for OptionsCount
§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 more§impl Debug for OptionsCount
impl Debug for OptionsCount
§impl<'a> Parse<'a> for OptionsCount
impl<'a> Parse<'a> for OptionsCount
§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
§impl PartialEq for OptionsCount
impl PartialEq for OptionsCount
§impl Serialize for OptionsCount
impl Serialize for OptionsCount
§fn required_length(&self) -> usize
fn required_length(&self) -> usize
Returns the number of bytes required to store the serialized version of self.
§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