Struct kube_runtime::reflector::store::Writer [−][src]
Expand description
A writable Store handle
This is exclusive since it’s not safe to share a single Store
between multiple reflectors.
In particular, Restarted
events will clobber the state of other connected reflectors.
Implementations
Creates a new Writer with the specified dynamic type.
If the dynamic type is default-able (for example when writer is used with
k8s_openapi
types) you can use Default
instead.
Return a read handle to the store
Multiple read handles may be obtained, by either calling as_reader
multiple times,
or by calling Store::clone()
afterwards.
Applies a single watcher event to the store
Trait Implementations
Auto Trait Implementations
impl<K> !RefUnwindSafe for Writer<K>
impl<K> !UnwindSafe for Writer<K>