struct TrackBinding {
namespace: TrackNamespace,
name: Vec<u8>,
alias: Option<u64>,
kind: BindingKind,
}Expand description
A Track Alias the peer has attached to a Full Track Name, and the request whose lifetime the attachment follows.
Fields§
§namespace: TrackNamespace§name: Vec<u8>§alias: Option<u64>The alias, once the peer has named one.
A SUBSCRIBE this endpoint sends names a track and waits for its alias, so the binding exists with no alias in it from the moment the request is made until its SUBSCRIBE_OK arrives. A PUBLISH carries both at once and is never in that state.
kind: BindingKindTrait 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