pub enum StoredExpiry {
Usable {
expires_at: Timestamp,
},
Expired {
expires_at: Timestamp,
},
}Expand description
Owned credentials always carry the expiry saved by the token exchange.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StoredExpiry
impl RefUnwindSafe for StoredExpiry
impl Send for StoredExpiry
impl Sync for StoredExpiry
impl Unpin for StoredExpiry
impl UnsafeUnpin for StoredExpiry
impl UnwindSafe for StoredExpiry
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