enum FetchFrameShape {
Absolute,
Draft15(FetchObjectHeader),
Draft16(FetchObjectHeader, FetchObjectLocation),
Draft17(FetchObject),
Draft18(FetchObject),
Draft19(FetchObject),
Draft20(FetchObject),
Draft21(FetchObject),
Draft22(FetchObject),
Draft23(FetchObject),
}Expand description
Per-draft capture of the shape one fetch frame arrived in.
Drafts 07-14 keep nothing: every field of a fetch object is on their wire
outright, so the bytes say the same thing whatever precedes them. Drafts
15-23 keep the frame’s own header, and draft-16 the resolved Location
beside it, because those two are exactly what each draft’s
FetchObjectWriter is handed.
Variants§
Absolute
A frame whose fields are all absolute.
Draft15(FetchObjectHeader)
Draft16(FetchObjectHeader, FetchObjectLocation)
Draft17(FetchObject)
Draft18(FetchObject)
Draft19(FetchObject)
Draft20(FetchObject)
Draft21(FetchObject)
Draft22(FetchObject)
Draft23(FetchObject)
Trait Implementations§
Source§impl Clone for FetchFrameShape
impl Clone for FetchFrameShape
Auto Trait Implementations§
impl Freeze for FetchFrameShape
impl RefUnwindSafe for FetchFrameShape
impl Send for FetchFrameShape
impl Sync for FetchFrameShape
impl Unpin for FetchFrameShape
impl UnsafeUnpin for FetchFrameShape
impl UnwindSafe for FetchFrameShape
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