[−][src]Struct fluvio_sc::dispatcher::dispatcher::K8WSUpdateService
Implementations
impl<C, S> K8WSUpdateService<C, S> where
C: MetadataClient,
S: K8ExtendedSpec + Into<<S as K8ExtendedSpec>::K8Spec>,
<S as Spec>::Owner: K8ExtendedSpec,
<S as Spec>::Status: PartialEq<<S as Spec>::Status>,
<S as Spec>::Status: Display,
<S as Spec>::Status: Into<<<S as K8ExtendedSpec>::K8Spec as Spec>::Status>,
<S as Spec>::IndexKey: Display,
<S as K8ExtendedSpec>::K8Spec: DeserializeOwned,
<S as K8ExtendedSpec>::K8Spec: Serialize,
<S as K8ExtendedSpec>::K8Spec: Send,
<S as K8ExtendedSpec>::K8Spec: Sync,
[src]
C: MetadataClient,
S: K8ExtendedSpec + Into<<S as K8ExtendedSpec>::K8Spec>,
<S as Spec>::Owner: K8ExtendedSpec,
<S as Spec>::Status: PartialEq<<S as Spec>::Status>,
<S as Spec>::Status: Display,
<S as Spec>::Status: Into<<<S as K8ExtendedSpec>::K8Spec as Spec>::Status>,
<S as Spec>::IndexKey: Display,
<S as K8ExtendedSpec>::K8Spec: DeserializeOwned,
<S as K8ExtendedSpec>::K8Spec: Serialize,
<S as K8ExtendedSpec>::K8Spec: Send,
<S as K8ExtendedSpec>::K8Spec: Sync,
pub fn new(client: Arc<C>) -> K8WSUpdateService<C, S>
[src]
pub async fn apply(
&'_ self,
value: MetadataStoreObject<S, K8MetaItem>
) -> Result<(), <C as MetadataClient>::MetadataClientError>
[src]
&'_ self,
value: MetadataStoreObject<S, K8MetaItem>
) -> Result<(), <C as MetadataClient>::MetadataClientError>
add/update
pub async fn update_status(
&'_ self,
metadata: K8MetaItem,
status: <S as Spec>::Status
) -> Result<K8Obj<<S as K8ExtendedSpec>::K8Spec>, <C as MetadataClient>::MetadataClientError>
[src]
&'_ self,
metadata: K8MetaItem,
status: <S as Spec>::Status
) -> Result<K8Obj<<S as K8ExtendedSpec>::K8Spec>, <C as MetadataClient>::MetadataClientError>
only update the status
pub async fn update_spec(
&'_ self,
metadata: K8MetaItem,
spec: S
) -> Result<(), <C as MetadataClient>::MetadataClientError>
[src]
&'_ self,
metadata: K8MetaItem,
spec: S
) -> Result<(), <C as MetadataClient>::MetadataClientError>
update spec only
pub async fn delete(
&'_ self,
meta: K8MetaItem
) -> Result<(), <C as MetadataClient>::MetadataClientError>
[src]
&'_ self,
meta: K8MetaItem
) -> Result<(), <C as MetadataClient>::MetadataClientError>
pub async fn final_delete(
&'_ self,
meta: K8MetaItem
) -> Result<(), <C as MetadataClient>::MetadataClientError>
[src]
&'_ self,
meta: K8MetaItem
) -> Result<(), <C as MetadataClient>::MetadataClientError>
Auto Trait Implementations
impl<C, S> RefUnwindSafe for K8WSUpdateService<C, S> where
C: RefUnwindSafe,
S: RefUnwindSafe,
[src]
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<C, S> Send for K8WSUpdateService<C, S> where
C: Send + Sync,
S: Send,
[src]
C: Send + Sync,
S: Send,
impl<C, S> Sync for K8WSUpdateService<C, S> where
C: Send + Sync,
S: Sync,
[src]
C: Send + Sync,
S: Sync,
impl<C, S> Unpin for K8WSUpdateService<C, S> where
S: Unpin,
[src]
S: Unpin,
impl<C, S> UnwindSafe for K8WSUpdateService<C, S> where
C: RefUnwindSafe,
S: UnwindSafe,
[src]
C: RefUnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,