Enum ppp::v1::BinaryParseError [−][src]
pub enum BinaryParseError {
Parse(ParseError),
InvalidUtf8(Utf8Error),
}
Expand description
An error in parsing a text PROXY protocol header that is represented as a byte slice.
Variants
Parse(ParseError)
Tuple Fields
0: ParseError
InvalidUtf8(Utf8Error)
Tuple Fields
0: Utf8Error
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Tests whether this Result
is incomplete.
An action that leads to an incomplete result may have a different result with more bytes.
Retrying with the same input will not change the result. Read more
Tests whether this Result
is successful or whether the error is terminal.
A terminal error will not result in a success even with more bytes.
Retrying with the same – or more – input will not change the result. Read more