Enum Resolution
pub enum Resolution {
Set(FilterState),
Remove,
Keep,
}Expand description
What a resolve_pending closure decides
for one pending filter entry.
The closure is supplied by Client, which owns
the SUBACK/UNSUBACK rules.
Variants§
Set(FilterState)
Replace the entry’s state (promote to
Subscribed, or restore it on a rejected
UNSUBSCRIBE).
Remove
Remove the entry.
Keep
Leave the entry untouched, including its pending-order slot.
Trait Implementations§
§impl Clone for Resolution
impl Clone for Resolution
§fn clone(&self) -> Resolution
fn clone(&self) -> Resolution
Returns a duplicate 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 more§impl Debug for Resolution
impl Debug for Resolution
§impl PartialEq for Resolution
impl PartialEq for Resolution
impl Copy for Resolution
impl Eq for Resolution
impl StructuralPartialEq for Resolution
Auto Trait Implementations§
impl Freeze for Resolution
impl RefUnwindSafe for Resolution
impl Send for Resolution
impl Sync for Resolution
impl Unpin for Resolution
impl UnwindSafe for Resolution
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