pub enum CachingBehavior {
Disabled,
BestEffort,
}
Expand description
Defines how the HTTP client should handle response caching.
Variants§
Disabled
Caching is completely disabled.
BestEffort
Best effort caching behavior based on the backend capabilities.
Trait Implementations§
Source§impl Clone for CachingBehavior
impl Clone for CachingBehavior
Source§fn clone(&self) -> CachingBehavior
fn clone(&self) -> CachingBehavior
Returns a copy 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 CachingBehavior
impl Debug for CachingBehavior
Source§impl Default for CachingBehavior
impl Default for CachingBehavior
Source§fn default() -> CachingBehavior
fn default() -> CachingBehavior
Returns the “default value” for a type. Read more
Source§impl PartialEq for CachingBehavior
impl PartialEq for CachingBehavior
impl Copy for CachingBehavior
impl Eq for CachingBehavior
impl StructuralPartialEq for CachingBehavior
Auto Trait Implementations§
impl Freeze for CachingBehavior
impl RefUnwindSafe for CachingBehavior
impl Send for CachingBehavior
impl Sync for CachingBehavior
impl Unpin for CachingBehavior
impl UnwindSafe for CachingBehavior
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