pub struct ConnectionNotReadyInfo {
pub retry_after_ms: Option<u64>,
}Expand description
Public payload for send preflight failures.
This error is emitted before the operation enters transport, so callers can
retry by creating a fresh operation. retry_after_ms is only a hint; the
readiness hook is the authoritative signal that sending may be attempted
again.
Fields§
§retry_after_ms: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for ConnectionNotReadyInfo
impl Clone for ConnectionNotReadyInfo
Source§fn clone(&self) -> ConnectionNotReadyInfo
fn clone(&self) -> ConnectionNotReadyInfo
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 moreSource§impl Debug for ConnectionNotReadyInfo
impl Debug for ConnectionNotReadyInfo
Auto Trait Implementations§
impl Freeze for ConnectionNotReadyInfo
impl RefUnwindSafe for ConnectionNotReadyInfo
impl Send for ConnectionNotReadyInfo
impl Sync for ConnectionNotReadyInfo
impl Unpin for ConnectionNotReadyInfo
impl UnsafeUnpin for ConnectionNotReadyInfo
impl UnwindSafe for ConnectionNotReadyInfo
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