[][src]Enum someip_parse::ReadError

pub enum ReadError {
    IoError(Error),
    UnexpectedEndOfSlice(usize),
    UnsupportedProtocolVersion(u8),
    LengthFieldTooSmall(u32),
    UnknownMessageType(u8),
}

Errors that can occur when reading someip headers.

Variants

IoError(Error)UnexpectedEndOfSlice(usize)

The slice length was not large enough to contain the header.

UnsupportedProtocolVersion(u8)

Error when the protocol version field contains a version that is not supported by this library (aka != SOMEIP_PROTOCOL_VERSION)

LengthFieldTooSmall(u32)

Error returned when a someip header has a value in the length field that is smaller then the rest of someip header itself (8 bytes).

UnknownMessageType(u8)

Error when the message type field contains an unknown value

Trait Implementations

impl From<Error> for ReadError[src]

impl Debug for ReadError[src]

Auto Trait Implementations

impl Send for ReadError

impl Sync for ReadError

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.