Enum sacn::error::ParseError [] [src]

pub enum ParseError<'a> {
    Uuid(UUidParseError),
    Utf8(Utf8Error),
    PduInvalidFlags(u8),
    PduInvalidLength(usize),
    PduInvalidVector(u32),
    InvalidData(&'a str),
    NotEnoughData,
}

Errors for parsing of sACN network packets.

Variants

Error parsing the received UUID.

Error parsing received UTF8 string.

Received PDU flags are invalid.

Received PDU length is invalid.

Received PDU vector is invalid.

Other invalid data received.

Buffer does not contain enough data.

Trait Implementations

impl<'a> Debug for ParseError<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Display for ParseError<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Error for ParseError<'a>
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl<'a> From<UUidParseError> for ParseError<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<Utf8Error> for ParseError<'a>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for ParseError<'a>

impl<'a> Sync for ParseError<'a>