pub struct OperationManager<L: Lane> { /* private fields */ }Implementations§
Source§impl<L: Lane> OperationManager<L>
impl<L: Lane> OperationManager<L>
pub async fn register(&self, registration: Registration<L>) -> Result<()>
pub async fn unregister(&self, id: &QualifiedId) -> Result<()>
pub fn with_context(&self, context: CallContext) -> Self
Trait Implementations§
Source§impl<L: Lane> Deref for OperationManager<L>
impl<L: Lane> Deref for OperationManager<L>
Source§impl<L: Lane> Host for OperationManager<L>
impl<L: Lane> Host for OperationManager<L>
type Error = Error
type Instance<O: OperationDeclaration> = Running<O>
fn publish_on<S: StreamSpec>( &self, row: &S::Row, ) -> impl Future<Output = Result<(), Self::Error>> + Send
fn context(&self) -> &CallContext
fn with_value<T: ContextValue>(&self, value: T) -> Result<Self, ContextError>
fn submit<O: OperationDeclaration>( &self, request: O::Request, ) -> impl Future<Output = Result<Running<O>>> + Send
fn submit_owned<O: OperationDeclaration>( &self, request: O::Request, claims: RequestClaims, ) -> impl Future<Output = Result<Running<O>>> + Send
fn call<O: OperationDeclaration>( &self, request: O::Request, ) -> impl Future<Output = Result<Response<O::Response>>> + Send
fn call_owned<O>(
&self,
request: <O as OperationDeclaration>::Request,
claims: RequestClaims,
) -> impl Future<Output = Result<Response<<O as OperationDeclaration>::Response>, Self::Error>> + Sendwhere
O: OperationDeclaration,
fn publish<S>(
&self,
row: &S,
) -> impl Future<Output = Result<(), Self::Error>> + Sendwhere
S: StreamSpec<Row = S> + Message,
Auto Trait Implementations§
impl<L> !RefUnwindSafe for OperationManager<L>
impl<L> !UnwindSafe for OperationManager<L>
impl<L> Freeze for OperationManager<L>
impl<L> Send for OperationManager<L>
impl<L> Sync for OperationManager<L>
impl<L> Unpin for OperationManager<L>
impl<L> UnsafeUnpin for OperationManager<L>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more