pub enum MessageType {
Request,
RequestNoReturn,
Notification,
Response,
Error,
TpRequest,
TpRequestNoReturn,
TpNotification,
TpResponse,
TpError,
}Available on crate feature
data-support-someip only.Expand description
SOME/IP message type version.
Variants§
Request
A request expecting a response (even void).
RequestNoReturn
A fire&forget request
Notification
A request of a notification/event callback expecting no response.
Response
The response message.
Error
The response containing an error.
TpRequest
A TP request expecting a response (even void).
TpRequestNoReturn
A TP fire&forget request.
TpNotification
A TP request of a notification/event call-back expecting no response.
TpResponse
The TP response message.
TpError
The TP response containing an error.
Trait Implementations§
Source§impl Clone for MessageType
impl Clone for MessageType
Source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
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 MessageType
impl Debug for MessageType
Source§impl<'a> Parse<'a> for MessageType
impl<'a> Parse<'a> for MessageType
Source§fn parse_partial(reader: &mut ByteReader<'a>) -> Result<MessageType, ParseError>
fn parse_partial(reader: &mut ByteReader<'a>) -> Result<MessageType, ParseError>
Parses a SOME/IP payload type from a given slice of bytes. Read more
Source§impl PartialEq for MessageType
impl PartialEq for MessageType
Source§impl Serialize for MessageType
impl Serialize for MessageType
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 MessageType
impl Eq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
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