struct TrackBinding {
namespace: TrackNamespace,
name: Vec<u8>,
alias: u64,
}Expand description
A Track Alias attached to a Full Track Name, and nothing else: the subscription whose lifetime the attachment follows is the map’s key.
SUBSCRIBE carries the alias and the track in the one message, whichever end sends it, so a binding is complete from the moment it is made. That stops being true at draft-12, where the alias arrives in the answer instead.
Fields§
§namespace: TrackNamespace§name: Vec<u8>§alias: u64Trait Implementations§
Source§impl Clone for TrackBinding
impl Clone for TrackBinding
Source§fn clone(&self) -> TrackBinding
fn clone(&self) -> TrackBinding
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 moreAuto Trait Implementations§
impl Freeze for TrackBinding
impl RefUnwindSafe for TrackBinding
impl Send for TrackBinding
impl Sync for TrackBinding
impl Unpin for TrackBinding
impl UnsafeUnpin for TrackBinding
impl UnwindSafe for TrackBinding
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