pub struct WebSocketSessionStatus {
pub state: WebSocketSessionStateKind,
pub attempt: u32,
pub max_attempts: u32,
pub sent: u64,
pub received: u64,
pub errors: u64,
pub last_delay_ms: Option<u64>,
}Expand description
WebSocketSessionStatus data container.
Fields§
§state: WebSocketSessionStateKindstate field for state.
attempt: u32attempt field for attempt.
max_attempts: u32max_attempts field for max attempts.
sent: u64sent field for sent.
received: u64received field for received.
errors: u64errors field for errors.
last_delay_ms: Option<u64>last_delay_ms field for last delay ms.
Trait Implementations§
Source§impl Clone for WebSocketSessionStatus
impl Clone for WebSocketSessionStatus
Source§fn clone(&self) -> WebSocketSessionStatus
fn clone(&self) -> WebSocketSessionStatus
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 WebSocketSessionStatus
impl Debug for WebSocketSessionStatus
Source§impl PartialEq for WebSocketSessionStatus
impl PartialEq for WebSocketSessionStatus
impl Eq for WebSocketSessionStatus
impl StructuralPartialEq for WebSocketSessionStatus
Auto Trait Implementations§
impl Freeze for WebSocketSessionStatus
impl RefUnwindSafe for WebSocketSessionStatus
impl Send for WebSocketSessionStatus
impl Sync for WebSocketSessionStatus
impl Unpin for WebSocketSessionStatus
impl UnsafeUnpin for WebSocketSessionStatus
impl UnwindSafe for WebSocketSessionStatus
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.