pub enum HaProxErrType {
ArgumentEinval,
IoError,
MalformedData,
ProtocolNotSuported,
IncorrectBanner,
ProtocolMsgIncomplete,
ProtocolUnknownData,
}Variants§
ArgumentEinval
Argument is invalid.
IoError
Input/Output error.
MalformedData
Any error related to reading data from packet and producing error.
ProtocolNotSuported
The protocol version is not supported.
IncorrectBanner
The banner of the packet is unknown.
ProtocolMsgIncomplete
Unexpected EOF while reading.
ProtocolUnknownData
Received unknown data.
Trait Implementations§
Source§impl Clone for HaProxErrType
impl Clone for HaProxErrType
Source§fn clone(&self) -> HaProxErrType
fn clone(&self) -> HaProxErrType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HaProxErrType
Source§impl Debug for HaProxErrType
impl Debug for HaProxErrType
Source§impl Display for HaProxErrType
impl Display for HaProxErrType
impl Eq for HaProxErrType
Source§impl PartialEq for HaProxErrType
impl PartialEq for HaProxErrType
Source§fn eq(&self, other: &HaProxErrType) -> bool
fn eq(&self, other: &HaProxErrType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HaProxErrType
Auto Trait Implementations§
impl Freeze for HaProxErrType
impl RefUnwindSafe for HaProxErrType
impl Send for HaProxErrType
impl Sync for HaProxErrType
impl Unpin for HaProxErrType
impl UnsafeUnpin for HaProxErrType
impl UnwindSafe for HaProxErrType
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