Struct bonsaidb::client::BlockingRemoteSubscriber
source · pub struct BlockingRemoteSubscriber(/* private fields */);
Expand description
A remote PubSub Subscriber
that blocks the current thread when
performing requests.
Trait Implementations§
source§impl Debug for BlockingRemoteSubscriber
impl Debug for BlockingRemoteSubscriber
source§impl Subscriber for BlockingRemoteSubscriber
impl Subscriber for BlockingRemoteSubscriber
source§fn subscribe_to_bytes(&self, topic: Vec<u8>) -> Result<(), Error>
fn subscribe_to_bytes(&self, topic: Vec<u8>) -> Result<(), Error>
Subscribe to
Message
s published to topic
.source§fn unsubscribe_from_bytes(&self, topic: &[u8]) -> Result<(), Error>
fn unsubscribe_from_bytes(&self, topic: &[u8]) -> Result<(), Error>
Unsubscribe from
Message
s published to topic
.Auto Trait Implementations§
impl !RefUnwindSafe for BlockingRemoteSubscriber
impl Send for BlockingRemoteSubscriber
impl Sync for BlockingRemoteSubscriber
impl Unpin for BlockingRemoteSubscriber
impl !UnwindSafe for BlockingRemoteSubscriber
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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