Enum someip_parse::ReturnCode
source · pub enum ReturnCode {
}
Expand description
Return code contained in a SOME/IP header.
Variants§
Ok
NotOk
UnknownService
UnknownMethod
NotReady
NotReachable
Timeout
WrongProtocolVersion
WrongInterfaceVersion
MalformedMessage
WrongMessageType
Generic(u8)
InterfaceError(u8)
Trait Implementations§
source§impl Clone for ReturnCode
impl Clone for ReturnCode
source§fn clone(&self) -> ReturnCode
fn clone(&self) -> ReturnCode
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 ReturnCode
impl Debug for ReturnCode
source§impl From<ReturnCode> for u8
impl From<ReturnCode> for u8
source§fn from(r: ReturnCode) -> u8
fn from(r: ReturnCode) -> u8
Converts to this type from the input type.
source§impl Hash for ReturnCode
impl Hash for ReturnCode
source§impl Ord for ReturnCode
impl Ord for ReturnCode
source§fn cmp(&self, other: &ReturnCode) -> Ordering
fn cmp(&self, other: &ReturnCode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ReturnCode
impl PartialEq for ReturnCode
source§fn eq(&self, other: &ReturnCode) -> bool
fn eq(&self, other: &ReturnCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReturnCode
impl PartialOrd for ReturnCode
source§fn partial_cmp(&self, other: &ReturnCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ReturnCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ReturnCode
impl Eq for ReturnCode
impl StructuralEq for ReturnCode
impl StructuralPartialEq for ReturnCode
Auto Trait Implementations§
impl RefUnwindSafe for ReturnCode
impl Send for ReturnCode
impl Sync for ReturnCode
impl Unpin for ReturnCode
impl UnwindSafe for ReturnCode
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