[−][src]Struct fluvio_sc::stores::StoreContext
Implementations
impl<S> StoreContext<S> where
S: Spec,
[src]
S: Spec,
pub fn new() -> StoreContext<S>
[src]
pub async fn send(
&'_ mut self,
actions: Vec<WSAction<S>, Global>
) -> Result<(), SendError<WSAction<S>>>
[src]
&'_ mut self,
actions: Vec<WSAction<S>, Global>
) -> Result<(), SendError<WSAction<S>>>
pub fn change_listener(&self) -> ChangeListener<S, K8MetaItem>
[src]
create new listener
pub fn store(&self) -> &Arc<LocalStore<S, K8MetaItem>>
[src]
pub fn receiver(&self) -> Receiver<WSAction<S>>
[src]
impl<S> StoreContext<S> where
S: Spec + PartialEq<S>,
[src]
S: Spec + PartialEq<S>,
pub async fn create_spec(
&'_ self,
key: <S as Spec>::IndexKey,
spec: S
) -> Result<MetadataStoreObject<S, K8MetaItem>, Error> where
<S as Spec>::IndexKey: Display,
[src]
&'_ self,
key: <S as Spec>::IndexKey,
spec: S
) -> Result<MetadataStoreObject<S, K8MetaItem>, Error> where
<S as Spec>::IndexKey: Display,
wait for creation of new metadata there is 5 second time out
pub async fn delete(&'_ self, key: <S as Spec>::IndexKey) -> Result<(), Error>
[src]
wait for delete of metadata object there is 5 second time out
pub async fn send_action(&'_ self, action: WSAction<S>)
[src]
send action
Trait Implementations
impl<S> Clone for StoreContext<S> where
S: Clone + Spec,
[src]
S: Clone + Spec,
pub fn clone(&self) -> StoreContext<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S> Debug for StoreContext<S> where
S: Debug + Spec,
[src]
S: Debug + Spec,
impl<S> Default for StoreContext<S> where
S: Spec,
[src]
S: Spec,
pub fn default() -> StoreContext<S>
[src]
Auto Trait Implementations
impl<S> !RefUnwindSafe for StoreContext<S>
[src]
impl<S> Send for StoreContext<S> where
S: Send + Sync,
<S as Spec>::IndexKey: Send + Sync,
<S as Spec>::Status: Send + Sync,
[src]
S: Send + Sync,
<S as Spec>::IndexKey: Send + Sync,
<S as Spec>::Status: Send + Sync,
impl<S> Sync for StoreContext<S> where
S: Send + Sync,
<S as Spec>::IndexKey: Send + Sync,
<S as Spec>::Status: Send + Sync,
[src]
S: Send + Sync,
<S as Spec>::IndexKey: Send + Sync,
<S as Spec>::Status: Send + Sync,
impl<S> Unpin for StoreContext<S>
[src]
impl<S> !UnwindSafe for StoreContext<S>
[src]
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,