pub enum PreExecuteAction {
Proceed,
RefreshNeeded,
}Expand description
Action the I/O layer should take before executing an API request.
Variants§
Proceed
Token is valid — proceed with the current access token.
RefreshNeeded
Token is expiring soon or already expired — attempt refresh first.
Trait Implementations§
Source§impl Clone for PreExecuteAction
impl Clone for PreExecuteAction
Source§fn clone(&self) -> PreExecuteAction
fn clone(&self) -> PreExecuteAction
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 PreExecuteAction
impl Debug for PreExecuteAction
Source§impl PartialEq for PreExecuteAction
impl PartialEq for PreExecuteAction
impl Copy for PreExecuteAction
impl Eq for PreExecuteAction
impl StructuralPartialEq for PreExecuteAction
Auto Trait Implementations§
impl Freeze for PreExecuteAction
impl RefUnwindSafe for PreExecuteAction
impl Send for PreExecuteAction
impl Sync for PreExecuteAction
impl Unpin for PreExecuteAction
impl UnsafeUnpin for PreExecuteAction
impl UnwindSafe for PreExecuteAction
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