pub enum ConnectError {
Io(Error),
Convert(String),
Offset(String),
Transaction(String),
Backend(String),
}Variants§
Io(Error)
An I/O failure talking to the external system (socket, file, …).
Convert(String)
Serializing or deserializing a record payload failed. Wraps converter failures, e.g. a schema-registry serde rejecting a value or a writer schema not yet resolved.
Offset(String)
A checkpoint could not be produced, or a SourceOffset
handed back to Source::seek does not name a
position this source can resume from.
Transaction(String)
A transactional Sink operation failed (begin / commit /
abort), or transactional methods were driven against a sink that does
not support them.
Backend(String)
A backend error that does not map cleanly onto one of the structured variants above.
Trait Implementations§
Source§impl Debug for ConnectError
impl Debug for ConnectError
Source§impl Display for ConnectError
impl Display for ConnectError
Source§impl Error for ConnectError
impl Error for ConnectError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectError
impl !UnwindSafe for ConnectError
impl Freeze for ConnectError
impl Send for ConnectError
impl Sync for ConnectError
impl Unpin for ConnectError
impl UnsafeUnpin for ConnectError
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