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