#[repr(C)]pub enum VSCacheMode {
Auto = -1,
ForceDisable = 0,
ForceEnable = 1,
}
Expand description
Describes how the output of a node is cached.
Variants§
Auto = -1
Cache is enabled or disabled based on the reported request patterns and number of consumers.
ForceDisable = 0
Never cache anything.
ForceEnable = 1
Always use the cache.
Trait Implementations§
Source§impl Clone for VSCacheMode
impl Clone for VSCacheMode
Source§fn clone(&self) -> VSCacheMode
fn clone(&self) -> VSCacheMode
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 VSCacheMode
impl Debug for VSCacheMode
Source§impl Hash for VSCacheMode
impl Hash for VSCacheMode
Source§impl Ord for VSCacheMode
impl Ord for VSCacheMode
Source§fn cmp(&self, other: &VSCacheMode) -> Ordering
fn cmp(&self, other: &VSCacheMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VSCacheMode
impl PartialEq for VSCacheMode
Source§impl PartialOrd for VSCacheMode
impl PartialOrd for VSCacheMode
impl Copy for VSCacheMode
impl Eq for VSCacheMode
impl StructuralPartialEq for VSCacheMode
Auto Trait Implementations§
impl Freeze for VSCacheMode
impl RefUnwindSafe for VSCacheMode
impl Send for VSCacheMode
impl Sync for VSCacheMode
impl Unpin for VSCacheMode
impl UnwindSafe for VSCacheMode
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