Struct PendingMeta
pub struct PendingMeta {
pub packet_id: PacketId,
pub kind: PendingKind,
}Expand description
The next pending SUBSCRIBE/UNSUBSCRIBE group to send, returned by
first_pending_group.
Every filter in a group shares one packet identifier and forms a single
packet. The caller reads the kind, iterates the group’s filters with
pending_subscribe_filters or
pending_unsubscribe_filters,
enqueues the packet, then commits with
mark_subscription_in_flight.
Fields§
§packet_id: PacketIdPacket identifier shared by every filter in the group.
kind: PendingKindWhether the group is a SUBSCRIBE or an UNSUBSCRIBE.
Trait Implementations§
§impl Clone for PendingMeta
impl Clone for PendingMeta
§fn clone(&self) -> PendingMeta
fn clone(&self) -> PendingMeta
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 PendingMeta
impl Debug for PendingMeta
§impl PartialEq for PendingMeta
impl PartialEq for PendingMeta
impl Copy for PendingMeta
impl Eq for PendingMeta
impl StructuralPartialEq for PendingMeta
Auto Trait Implementations§
impl Freeze for PendingMeta
impl RefUnwindSafe for PendingMeta
impl Send for PendingMeta
impl Sync for PendingMeta
impl Unpin for PendingMeta
impl UnwindSafe for PendingMeta
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