pub enum ReturnCode {
}Expand description
Return code contained in a SOME/IP header.
Variants§
Ok
No error (0x00).
NotOk
An unspecified error occurred (0x01).
UnknownService
The requested service is unknown (0x02).
UnknownMethod
The requested method is unknown (0x03).
NotReady
The service is not ready (0x04).
NotReachable
The service is not reachable (0x05).
Timeout
A timeout occurred (0x06).
WrongProtocolVersion
The protocol version is not supported (0x07).
WrongInterfaceVersion
The interface version is not supported (0x08).
MalformedMessage
The message is malformed (0x09).
WrongMessageType
The message type is wrong for the context (0x0A).
E2ERepeated
E2E: repeated message detected (0x0B).
E2EWrongSequence
E2E: wrong sequence counter (0x0C).
E2E
E2E: unspecified E2E error (0x0D).
E2ENotAvailable
E2E: protection not available (0x0E).
E2ENoNewData
E2E: no new data (0x0F).
GenericError(u8)
A generic error in the range 0x10..=0x1F.
InterfaceError(u8)
An interface-specific error in the range 0x20..=0x5E.
Implementations§
Trait Implementations§
Source§impl Clone for ReturnCode
impl Clone for ReturnCode
Source§fn clone(&self) -> ReturnCode
fn clone(&self) -> ReturnCode
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 ReturnCode
impl Debug for ReturnCode
Source§impl From<ReturnCode> for u8
impl From<ReturnCode> for u8
Source§fn from(return_code: ReturnCode) -> u8
fn from(return_code: ReturnCode) -> u8
Converts to this type from the input type.
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§impl PartialOrd for ReturnCode
impl PartialOrd for ReturnCode
Source§impl TryFrom<u8> for ReturnCode
impl TryFrom<u8> for ReturnCode
impl Copy for ReturnCode
impl Eq for ReturnCode
impl StructuralPartialEq for ReturnCode
Auto Trait Implementations§
impl Freeze for ReturnCode
impl RefUnwindSafe for ReturnCode
impl Send for ReturnCode
impl Sync for ReturnCode
impl Unpin for ReturnCode
impl UnsafeUnpin 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