[][src]Enum pg_wire::Error

pub enum Error {
    ConnectionIdExhausted,
    InvalidInput(String),
    InvalidUtfString,
    ZeroByteNotFound,
    UnsupportedFrontendMessage,
    UnsupportedVersion,
    UnsupportedRequest,
    UnrecognizedVersion,
    VerificationFailed,
}

Error type in protocol Result. Indicates that something went not well

Variants

ConnectionIdExhausted

Indicates that the current count of active connections is full

InvalidInput(String)

Indicates that incoming data is invalid

InvalidUtfString

Indicates that incoming data can't be parsed as UTF-8 string

ZeroByteNotFound

Indicates that incoming string is not terminated by zero byte

UnsupportedFrontendMessage

Indicates that frontend message is not supported

UnsupportedVersion

Indicates that protocol version is not supported

UnsupportedRequest

Indicates that client request is not supported

UnrecognizedVersion

Indicates that during handshake client sent unrecognized protocol version

VerificationFailed

Indicates that connection verification is failed

Trait Implementations

impl Debug for Error[src]

impl PartialEq<Error> for Error[src]

impl StructuralPartialEq for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.