pub struct RetryStatus {
pub attempt: u32,
pub max_attempts: u32,
pub delay_ms: Option<u64>,
pub state: RetryState,
}Expand description
Graph-visible retry/reconnect status payload shape.
Fields§
§attempt: u32attempt field for attempt.
max_attempts: u32max_attempts field for max attempts.
delay_ms: Option<u64>delay_ms field for delay ms.
state: RetryStatestate field for state.
Trait Implementations§
Source§impl Clone for RetryStatus
impl Clone for RetryStatus
Source§fn clone(&self) -> RetryStatus
fn clone(&self) -> RetryStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 RetryStatus
impl Debug for RetryStatus
Source§impl PartialEq for RetryStatus
impl PartialEq for RetryStatus
impl Eq for RetryStatus
impl StructuralPartialEq for RetryStatus
Auto Trait Implementations§
impl Freeze for RetryStatus
impl RefUnwindSafe for RetryStatus
impl Send for RetryStatus
impl Sync for RetryStatus
impl Unpin for RetryStatus
impl UnsafeUnpin for RetryStatus
impl UnwindSafe for RetryStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.