pub enum FetchPayload {
Standalone {
track_namespace: TrackNamespace,
track_name: Vec<u8>,
start_group: VarInt,
start_object: VarInt,
end_group: VarInt,
end_object: VarInt,
},
Joining {
joining_request_id: VarInt,
joining_start: VarInt,
},
}Variants§
Standalone
Fields
§
track_namespace: TrackNamespaceJoining
Fields
§
joining_request_id: VarIntThe Request ID of the subscription this fetch joins.
Section 8.16 names the field Joining Request ID. Draft-11 spelled the same field Joining Subscribe ID, and the two words are not interchangeable here: a Request ID is drawn from the one space every request shares, so the value identifies a request that happens to be a subscription rather than a subscription in a space of its own.
Trait Implementations§
Source§impl Clone for FetchPayload
impl Clone for FetchPayload
Source§fn clone(&self) -> FetchPayload
fn clone(&self) -> FetchPayload
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 moreSource§impl Debug for FetchPayload
impl Debug for FetchPayload
impl Eq for FetchPayload
Source§impl PartialEq for FetchPayload
impl PartialEq for FetchPayload
impl StructuralPartialEq for FetchPayload
Auto Trait Implementations§
impl Freeze for FetchPayload
impl RefUnwindSafe for FetchPayload
impl Send for FetchPayload
impl Sync for FetchPayload
impl Unpin for FetchPayload
impl UnsafeUnpin for FetchPayload
impl UnwindSafe for FetchPayload
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