pub enum CredentialReason {
Initial,
Reconnect {
disconnected_at: SystemTime,
replay_lookback: Duration,
},
}Expand description
Why credentials are requested.
Variants§
Initial
The attempt that Channel::connect starts.
Reconnect
An automatic reconnect.
Fields
§
disconnected_at: SystemTimeWhen the connection dropped.
Trait Implementations§
Source§impl Clone for CredentialReason
impl Clone for CredentialReason
Source§impl Debug for CredentialReason
impl Debug for CredentialReason
impl Eq for CredentialReason
Source§impl PartialEq for CredentialReason
impl PartialEq for CredentialReason
impl StructuralPartialEq for CredentialReason
Auto Trait Implementations§
impl Freeze for CredentialReason
impl RefUnwindSafe for CredentialReason
impl Send for CredentialReason
impl Sync for CredentialReason
impl Unpin for CredentialReason
impl UnsafeUnpin for CredentialReason
impl UnwindSafe for CredentialReason
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