#[non_exhaustive]pub struct TokenStaleInfo {
pub errcode: i32,
pub pause_duration: Duration,
}Expand description
Details of a stale-token event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.errcode: i32Error code reported by the server (-14).
pause_duration: DurationHow long the SDK will pause polling before trying again.
Trait Implementations§
Source§impl Clone for TokenStaleInfo
impl Clone for TokenStaleInfo
Source§fn clone(&self) -> TokenStaleInfo
fn clone(&self) -> TokenStaleInfo
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 moreAuto Trait Implementations§
impl Freeze for TokenStaleInfo
impl RefUnwindSafe for TokenStaleInfo
impl Send for TokenStaleInfo
impl Sync for TokenStaleInfo
impl Unpin for TokenStaleInfo
impl UnsafeUnpin for TokenStaleInfo
impl UnwindSafe for TokenStaleInfo
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