Enum someip_messages::MessageType
source · pub enum MessageType {
Request,
RequestNoReturn,
Notification,
Response,
Error,
TpRequest,
TpRequestNoReturn,
TpNotification,
TpResponse,
TpError,
}
Expand description
Different kinds of MessageType accepted in a header.
Variants§
Request
Request
RequestNoReturn
Rquest no return
Notification
Notification
Response
Repsonse
Error
Error
TpRequest
Tp request
TpRequestNoReturn
Tp request no return
TpNotification
Tp notification
TpResponse
Tp response
TpError
Tp error
Trait Implementations§
source§impl Clone for MessageType
impl Clone for MessageType
source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
Returns a copy 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 From<MessageType> for u8
impl From<MessageType> for u8
Transforms a MessageType to a u8 representing the type.
source§fn from(i: MessageType) -> u8
fn from(i: MessageType) -> u8
Converts to this type from the input type.
source§impl Hash for MessageType
impl Hash for MessageType
source§impl PartialEq<MessageType> for MessageType
impl PartialEq<MessageType> for MessageType
source§fn eq(&self, other: &MessageType) -> bool
fn eq(&self, other: &MessageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for MessageType
impl TryFrom<u8> for MessageType
Transforms a u8 representing the type to a MessageType.
impl Copy for MessageType
impl Eq for MessageType
impl StructuralEq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations§
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