#[non_exhaustive]pub enum NotSentCause {
RouteOpenRefused {
code: String,
},
RouteOpenAbandoned,
BeforeQueue,
WriterCapacity,
WriterRejected,
InvalidResponse,
CompletionFailed,
DaemonRefusedBeforeForward {
code: String,
},
}Expand description
Why an attempt was classified as CallError::NotSent. For resend safety
across all attempts, also check CallError::never_forwarded.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RouteOpenRefused
The daemon or module refused route.open before the data request.
RouteOpenAbandoned
Route opening ended without a usable answer, including cancellation.
BeforeQueue
Local validation, connection state or flow control prevented queueing.
WriterCapacity
The deadline elapsed waiting for the writer’s cancel-safe queue send.
WriterRejected
The writer did not accept the request for transmission.
InvalidResponse
A control response could not be decoded or had an unexpected shape.
CompletionFailed
No longer produced: since 0.34.2 a dropped completion channel, which
can’t prove non-delivery, is reported as CallError::OutcomeUnknown
with OutcomeUnknownCause::CompletionFailed. Kept so existing
matches still compile.
DaemonRefusedBeforeForward
A daemon-marked data-plane refusal proved this attempt was not forwarded.