enum BindingKind {
Subscribe,
Publish,
PeerSubscribe,
}Expand description
Which of the two sequences Section 5.1 names established the subscription that owns a binding, and so which state machine says whether it still has one.
Variants§
Subscribe
This endpoint’s SUBSCRIBE, established by the peer’s SUBSCRIBE_OK.
Publish
A PUBLISH, established by the PUBLISH_OK answering it - whichever end sent which. Both are held in the same map, which Request ID parity keeps from colliding.
PeerSubscribe
The peer’s SUBSCRIBE, established by this endpoint’s SUBSCRIBE_OK.
The alias is this endpoint’s to choose on that one, because Section 9.10 carries it in the answer rather than in the request.
Trait Implementations§
Source§impl Clone for BindingKind
impl Clone for BindingKind
Source§fn clone(&self) -> BindingKind
fn clone(&self) -> BindingKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BindingKind
Source§impl Debug for BindingKind
impl Debug for BindingKind
impl Eq for BindingKind
Source§impl PartialEq for BindingKind
impl PartialEq for BindingKind
impl StructuralPartialEq for BindingKind
Auto Trait Implementations§
impl Freeze for BindingKind
impl RefUnwindSafe for BindingKind
impl Send for BindingKind
impl Sync for BindingKind
impl Unpin for BindingKind
impl UnsafeUnpin for BindingKind
impl UnwindSafe for BindingKind
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