Enum kafka_serde::ErrorKind [−][src]
Errors that may happen when parsing a kafka payload (reader or writer)
Variants
Io(Error)
Wraps an I/O Error. Will only be seen if the write cursors return an I/O error
TypeNotSupported(&'static str)
Trying to serialize to or from a type that is not yet supported
InvalidBoolEncoding(u8)
A boolean was expected, but a value different than 0 or 1 was found
A UTF-8 string was expected, but could not decode it.
The buffer ran out of bytes but we still had more data to deserialize
Custom(String)
Custom errors
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
[src]
impl Send for ErrorKind
[src]
impl Sync for ErrorKind
[src]
impl Unpin for ErrorKind
[src]
impl !UnwindSafe for ErrorKind
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,