enum FetchFrameShape {
Absolute,
Draft15(FetchObjectHeader),
Draft16(FetchObjectHeader, FetchObjectLocation),
Draft17(FetchObject),
Draft18(FetchObject),
Draft19(FetchObject),
Draft20(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-20 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)
Trait Implementations§
Source§impl Clone for FetchFrameShape
impl Clone for FetchFrameShape
Source§fn clone(&self) -> FetchFrameShape
fn clone(&self) -> FetchFrameShape
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 moreAuto 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