pub struct SharedJetStreamService<S: Service> { /* private fields */ }Expand description
A shared, thread-safe JetStream service that can be cloned.
Implementations§
Trait Implementations§
Source§fn clone(&self) -> SharedJetStreamService<S>
fn clone(&self) -> SharedJetStreamService<S>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§async fn rpc(&mut self, req: Self::Request) -> Result<Self::Response, Error>
async fn rpc(&mut self, req: Self::Request) -> Result<Self::Response, Error>
Handles an RPC call asynchronously.
Auto Trait Implementations§
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