pub struct FetchHeader {
pub request_id: VarInt,
}Expand description
The head of a fetch stream: the stream type 0x05 and a Request ID.
Section 11.4.1: “all objects on the stream belong to the track requested in the message identified by Request ID”. On a fill fetch stream that is the subscription’s Request ID, a PUBLISH’s included, or a REQUEST_UPDATE’s (Section 3.4), not a FETCH’s.
Fields§
§request_id: VarIntImplementations§
Source§impl FetchHeader
impl FetchHeader
Trait Implementations§
Source§impl Clone for FetchHeader
impl Clone for FetchHeader
Auto Trait Implementations§
impl Freeze for FetchHeader
impl RefUnwindSafe for FetchHeader
impl Send for FetchHeader
impl Sync for FetchHeader
impl Unpin for FetchHeader
impl UnsafeUnpin for FetchHeader
impl UnwindSafe for FetchHeader
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