Enum zbus::CacheProperties
source ·
[−]#[non_exhaustive]
pub enum CacheProperties {
Yes,
No,
Lazily,
}
Expand description
The properties caching mode.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Yes
Cache properties. The properties will be cached upfront as part of the proxy creation.
No
Don’t cache properties.
Lazily
Cache properties but only populate the cache on the first read of a property (default).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CacheProperties
impl Send for CacheProperties
impl Sync for CacheProperties
impl Unpin for CacheProperties
impl UnwindSafe for CacheProperties
Blanket Implementations
Mutably borrows from an owned value. Read more
type NoneType = T
The none-equivalent value.