pub enum ConnectorErrorKind {
Show 14 variants
ConfigurationInvalid,
DialectUnavailable,
CredentialUnavailable,
ConnectionFailed,
WriteFailed,
ReadFailed,
RemoteClosed,
DeadlineExceeded,
Cancelled,
Terminated,
LocalResourceFailed,
InvariantViolation,
SessionFailed,
ProtocolFailed,
}Expand description
High-level connector error classification.
Variants§
ConfigurationInvalid
Invalid open/config parameters.
Required dialect unavailable or ambiguous.
Credential reference could not be resolved (no secret material in error).
ConnectionFailed
Transport open/connect failed.
WriteFailed
Write path failed.
ReadFailed
Read path failed.
RemoteClosed
Remote closed the connection.
DeadlineExceeded
Deadline exceeded.
Cancelled
Cooperative cancellation.
Terminated
Forced termination.
LocalResourceFailed
Local resource (queue/task) failure or limit.
InvariantViolation
Internal invariant broken.
SessionFailed
Session create/load/routing failure (profile-specific).
ProtocolFailed
Protocol/JSON-RPC framing failure (bounded classification).
Trait Implementations§
Source§impl Clone for ConnectorErrorKind
impl Clone for ConnectorErrorKind
Source§fn clone(&self) -> ConnectorErrorKind
fn clone(&self) -> ConnectorErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConnectorErrorKind
Source§impl Debug for ConnectorErrorKind
impl Debug for ConnectorErrorKind
impl Eq for ConnectorErrorKind
Source§impl PartialEq for ConnectorErrorKind
impl PartialEq for ConnectorErrorKind
impl StructuralPartialEq for ConnectorErrorKind
Auto Trait Implementations§
impl Freeze for ConnectorErrorKind
impl RefUnwindSafe for ConnectorErrorKind
impl Send for ConnectorErrorKind
impl Sync for ConnectorErrorKind
impl Unpin for ConnectorErrorKind
impl UnsafeUnpin for ConnectorErrorKind
impl UnwindSafe for ConnectorErrorKind
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