[−][src]Struct fluvio_stream_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::Status: PartialEq + Display + Into<<<S as K8ExtendedSpec>::K8Spec as K8Spec>::Status>,
S::IndexKey: Display,
<S as K8ExtendedSpec>::K8Spec: DeserializeOwned + Serialize + Send + Sync,
[src]
C: MetadataClient,
S: K8ExtendedSpec + Into<<S as K8ExtendedSpec>::K8Spec>,
<S as Spec>::Owner: K8ExtendedSpec,
S::Status: PartialEq + Display + Into<<<S as K8ExtendedSpec>::K8Spec as K8Spec>::Status>,
S::IndexKey: Display,
<S as K8ExtendedSpec>::K8Spec: DeserializeOwned + Serialize + Send + Sync,
pub fn new(client: SharedClient<C>) -> Self
[src]
pub async fn apply<'_>(
&'_ self,
value: MetadataStoreObject<S, K8MetaItem>
) -> Result<(), C::MetadataClientError>
[src]
&'_ self,
value: MetadataStoreObject<S, K8MetaItem>
) -> Result<(), C::MetadataClientError>
add/update
pub async fn update_status<'_>(
&'_ self,
metadata: K8MetaItem,
status: S::Status
) -> Result<K8Obj<S::K8Spec>, C::MetadataClientError>
[src]
&'_ self,
metadata: K8MetaItem,
status: S::Status
) -> Result<K8Obj<S::K8Spec>, C::MetadataClientError>
only update the status
pub async fn update_spec<'_>(
&'_ self,
metadata: K8MetaItem,
spec: S
) -> Result<(), C::MetadataClientError>
[src]
&'_ self,
metadata: K8MetaItem,
spec: S
) -> Result<(), C::MetadataClientError>
update spec only
pub async fn delete<'_>(
&'_ self,
meta: K8MetaItem
) -> Result<(), C::MetadataClientError>
[src]
&'_ self,
meta: K8MetaItem
) -> Result<(), C::MetadataClientError>
Auto Trait Implementations
impl<C, S> RefUnwindSafe for K8WSUpdateService<C, S> where
C: RefUnwindSafe,
S: RefUnwindSafe,
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<C, S> Send for K8WSUpdateService<C, S> where
C: Send + Sync,
S: Send,
C: Send + Sync,
S: Send,
impl<C, S> Sync for K8WSUpdateService<C, S> where
C: Send + Sync,
S: Sync,
C: Send + Sync,
S: Sync,
impl<C, S> Unpin for K8WSUpdateService<C, S> where
S: Unpin,
S: Unpin,
impl<C, S> UnwindSafe for K8WSUpdateService<C, S> where
C: RefUnwindSafe,
S: UnwindSafe,
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> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
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<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,