pub enum PostExecuteAction {
Done,
RefreshAndRetry,
}Expand description
Action the I/O layer should take after receiving an API response.
Variants§
Done
Response is usable — return it to the caller.
RefreshAndRetry
Got 401 and haven’t refreshed yet — refresh and retry once.
Trait Implementations§
Source§impl Clone for PostExecuteAction
impl Clone for PostExecuteAction
Source§fn clone(&self) -> PostExecuteAction
fn clone(&self) -> PostExecuteAction
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 PostExecuteAction
impl Debug for PostExecuteAction
Source§impl PartialEq for PostExecuteAction
impl PartialEq for PostExecuteAction
impl Copy for PostExecuteAction
impl Eq for PostExecuteAction
impl StructuralPartialEq for PostExecuteAction
Auto Trait Implementations§
impl Freeze for PostExecuteAction
impl RefUnwindSafe for PostExecuteAction
impl Send for PostExecuteAction
impl Sync for PostExecuteAction
impl Unpin for PostExecuteAction
impl UnsafeUnpin for PostExecuteAction
impl UnwindSafe for PostExecuteAction
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