enum FetchWriterState {
Absolute(DraftVersion),
Draft15(FetchObjectWriter),
Draft16(FetchObjectWriter),
Draft17(FetchObjectWriter),
Draft18(FetchObjectWriter),
Draft19(FetchObjectWriter),
Draft20(FetchObjectWriter),
}Expand description
Per-draft writer state, mirroring FetchReaderState.
Variants§
Absolute(DraftVersion)
Drafts 07-14, which write every field of a fetch object outright and have nothing to write one against. The draft is carried so that a frame from another one is still refused.
Draft15(FetchObjectWriter)
Draft16(FetchObjectWriter)
Draft17(FetchObjectWriter)
Draft18(FetchObjectWriter)
Draft19(FetchObjectWriter)
Draft20(FetchObjectWriter)
Trait Implementations§
Source§impl Clone for FetchWriterState
impl Clone for FetchWriterState
Source§fn clone(&self) -> FetchWriterState
fn clone(&self) -> FetchWriterState
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 FetchWriterState
impl RefUnwindSafe for FetchWriterState
impl Send for FetchWriterState
impl Sync for FetchWriterState
impl Unpin for FetchWriterState
impl UnsafeUnpin for FetchWriterState
impl UnwindSafe for FetchWriterState
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