pub struct Subscribe<'a> {
pub id: u64,
pub broadcast: Path<'a>,
pub track: Cow<'a, str>,
pub priority: u8,
}Expand description
Sent by the subscriber to request all future objects for the given track.
Objects will use the provided ID instead of the full track name, to save bytes.
Fields§
§id: u64§broadcast: Path<'a>§track: Cow<'a, str>§priority: u8Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Subscribe<'a>
impl<'a> RefUnwindSafe for Subscribe<'a>
impl<'a> Send for Subscribe<'a>
impl<'a> Sync for Subscribe<'a>
impl<'a> Unpin for Subscribe<'a>
impl<'a> UnwindSafe for Subscribe<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)