pub enum AeroError {
AuthFailed(String),
ProtocolError(String),
Io(Error),
OutOfOrder,
Disconnected,
Timeout(String),
InvalidConfiguration(String),
}Expand description
Core error types for the AeroStream client SDK.
Variants§
AuthFailed(String)
Authentication handshake failed with broker.
ProtocolError(String)
Protocol framing or decoding error.
Io(Error)
Underlying I/O error occurred.
OutOfOrder
Out of order sequence number encountered during produce (status 45).
Disconnected
Connection to the broker was closed or disconnected.
Timeout(String)
Operation timed out.
InvalidConfiguration(String)
Configuration parameters are invalid.
Trait Implementations§
Source§impl Error for AeroError
impl Error for AeroError
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 AeroError
impl !UnwindSafe for AeroError
impl Freeze for AeroError
impl Send for AeroError
impl Sync for AeroError
impl Unpin for AeroError
impl UnsafeUnpin for AeroError
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