pub enum AckState {
Pending,
Confirmed,
Refused(String),
}Expand description
What a connector knows about one new subscription, for wait_ack.
Variants§
Pending
The request is out, the broker has not answered.
Confirmed
The broker confirmed the subscription (or the data of it has started to come, which proves it).
Refused(String)
The broker refused it. The text is the broker’s reason.
Trait Implementations§
impl Eq for AckState
impl StructuralPartialEq for AckState
Auto Trait Implementations§
impl Freeze for AckState
impl RefUnwindSafe for AckState
impl Send for AckState
impl Sync for AckState
impl Unpin for AckState
impl UnsafeUnpin for AckState
impl UnwindSafe for AckState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.