pub struct Fetch {
pub request_id: VarInt,
pub track_namespace: TrackNamespace,
pub track_name: Vec<u8>,
pub parameters: Vec<KeyValuePair>,
}Expand description
FETCH (0x16), Section 9.11, Figure 17.
FETCH Message {
Type (vi64) = 0x16,
Length (vi64),
Request ID (vi64),
Track Namespace (..),
Track Name Length (vi64),
Track Name (..),
Number of Parameters (vi64),
Parameters (..) ...
}The range travels in the LOCATION_FILTER parameter. Section 3.2: “If the
Location filter is relative (see Section 9.19.9), the publisher MUST return
REQUEST_ERROR with error code INVALID_RANGE.” That is a reply rather than a
close, so every Location Filter Type decodes here.
Fields§
§request_id: VarInt§track_namespace: TrackNamespace§track_name: Vec<u8>§parameters: Vec<KeyValuePair>Trait Implementations§
impl Eq for Fetch
impl StructuralPartialEq for Fetch
Auto Trait Implementations§
impl Freeze for Fetch
impl RefUnwindSafe for Fetch
impl Send for Fetch
impl Sync for Fetch
impl Unpin for Fetch
impl UnsafeUnpin for Fetch
impl UnwindSafe for Fetch
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