Struct ksqldb::error::KsqlDBError[][src]

pub struct KsqlDBError {
    pub response_type: String,
    pub statement_text: Option<String>,
    pub error_code: Option<u32>,
    pub message: Option<String>,
    pub entities: Option<Vec<Value>>,
}

This structure contains various bits of information that are passed back from KSQL DB in the event of an error (the error is generated by KSQL DB, not the library). This can be due to a variety of reasons such as:

  • Invalid SQL
  • An error when processing the request
  • Malformed Data

Fields

response_type: Stringstatement_text: Option<String>error_code: Option<u32>message: Option<String>entities: Option<Vec<Value>>

Trait Implementations

impl Clone for KsqlDBError[src]

impl Debug for KsqlDBError[src]

impl<'de> Deserialize<'de> for KsqlDBError[src]

impl Display for KsqlDBError[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.